-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14d2149
commit a7cb936
Showing
40 changed files
with
95 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
StudioManager.Application.Tests/Reservations/GetReservationByIdQueryHandlerTests/Handle.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ioManager.Application.Tests/Reservations/GetReservationByIdQueryHandlerTests/Validator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/EquipmentTypes/Create/CreateEquipmentTypeCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
using MediatR; | ||
using StudioManager.API.Contracts.EquipmentTypes; | ||
using StudioManager.API.Contracts.EquipmentTypes; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.EquipmentTypes.Create; | ||
|
||
public sealed record CreateEquipmentTypeCommand(EquipmentTypeWriteDto EquipmentType) : IRequest<CommandResult>; | ||
public sealed record CreateEquipmentTypeCommand(EquipmentTypeWriteDto EquipmentType) : ICommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/EquipmentTypes/Delete/DeleteEquipmentTypeCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
using MediatR; | ||
using StudioManager.Domain.Common.Results; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.EquipmentTypes.Delete; | ||
|
||
public sealed record DeleteEquipmentTypeCommand(Guid Id) : IRequest<CommandResult>; | ||
public sealed record DeleteEquipmentTypeCommand(Guid Id) : ICommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/EquipmentTypes/GetAll/GetEquipmentTypesQuery.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
using MediatR; | ||
using StudioManager.API.Contracts.EquipmentTypes; | ||
using StudioManager.API.Contracts.EquipmentTypes; | ||
using StudioManager.Domain.Common.Results; | ||
using StudioManager.Domain.Filters; | ||
|
||
namespace StudioManager.Application.EquipmentTypes.GetAll; | ||
|
||
public sealed class GetEquipmentTypesQuery : IRequest<QueryResult<List<EquipmentTypeReadDto>>> | ||
public sealed class GetEquipmentTypesQuery : IQuery<List<EquipmentTypeReadDto>> | ||
{ | ||
public required EquipmentTypeFilter Filter { get; init; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/EquipmentTypes/GetById/GetEquipmentTypeByIdQuery.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
using MediatR; | ||
using StudioManager.API.Contracts.EquipmentTypes; | ||
using StudioManager.API.Contracts.EquipmentTypes; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.EquipmentTypes.GetById; | ||
|
||
public sealed record GetEquipmentTypeByIdQuery(Guid Id) : IRequest<QueryResult<EquipmentTypeReadDto>> | ||
public sealed record GetEquipmentTypeByIdQuery(Guid Id) : IQuery<EquipmentTypeReadDto> | ||
{ | ||
public Guid Id { get; } = Id; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/EquipmentTypes/Update/UpdateEquipmentTypeCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
using MediatR; | ||
using StudioManager.API.Contracts.EquipmentTypes; | ||
using StudioManager.API.Contracts.EquipmentTypes; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.EquipmentTypes.Update; | ||
|
||
public sealed record UpdateEquipmentTypeCommand(Guid Id, EquipmentTypeWriteDto EquipmentType) : IRequest<CommandResult>; | ||
public sealed record UpdateEquipmentTypeCommand(Guid Id, EquipmentTypeWriteDto EquipmentType) : ICommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/Equipments/Create/CreateEquipmentCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
using MediatR; | ||
using StudioManager.API.Contracts.Equipments; | ||
using StudioManager.API.Contracts.Equipments; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.Equipments.Create; | ||
|
||
public sealed record CreateEquipmentCommand(EquipmentWriteDto Equipment) : IRequest<CommandResult>; | ||
public sealed record CreateEquipmentCommand(EquipmentWriteDto Equipment) : ICommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/Equipments/Delete/DeleteEquipmentCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
using MediatR; | ||
using StudioManager.Domain.Common.Results; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.Equipments.Delete; | ||
|
||
public sealed record DeleteEquipmentCommand(Guid Id) : IRequest<CommandResult>; | ||
public sealed record DeleteEquipmentCommand(Guid Id) : ICommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/Equipments/GetById/GetEquipmentByIdQuery.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
using MediatR; | ||
using StudioManager.API.Contracts.Equipments; | ||
using StudioManager.API.Contracts.Equipments; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.Equipments.GetById; | ||
|
||
public sealed record GetEquipmentByIdQuery(Guid Id) : IRequest<QueryResult<EquipmentReadDto>> | ||
public sealed record GetEquipmentByIdQuery(Guid Id) : IQuery<EquipmentReadDto> | ||
{ | ||
public Guid Id { get; } = Id; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/Equipments/Update/UpdateEquipmentCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
using MediatR; | ||
using StudioManager.API.Contracts.Equipments; | ||
using StudioManager.API.Contracts.Equipments; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.Equipments.Update; | ||
|
||
public sealed record UpdateEquipmentCommand(Guid Id, EquipmentWriteDto Equipment) : IRequest<CommandResult>; | ||
public sealed record UpdateEquipmentCommand(Guid Id, EquipmentWriteDto Equipment) : ICommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
StudioManager.Application/Reservations/BetById/GetReservationByIdQuery.cs
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/Reservations/Create/CreateReservationCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
using MediatR; | ||
using StudioManager.API.Contracts.Reservations; | ||
using StudioManager.API.Contracts.Reservations; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.Reservations.Create; | ||
|
||
public sealed record CreateReservationCommand(ReservationWriteDto Reservation) : IRequest<CommandResult>; | ||
public sealed record CreateReservationCommand(ReservationWriteDto Reservation) : ICommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
StudioManager.Application/Reservations/Delete/DeleteReservationCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
using MediatR; | ||
using StudioManager.Domain.Common.Results; | ||
using StudioManager.Domain.Common.Results; | ||
|
||
namespace StudioManager.Application.Reservations.Delete; | ||
|
||
public sealed record DeleteReservationCommand(Guid Id) : IRequest<CommandResult>; | ||
public sealed record DeleteReservationCommand(Guid Id) : ICommand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.