15 lines
556 B
C#
15 lines
556 B
C#
using ProximaContracts.Domain.Contracts.DTOs.Request;
|
|
using ProximaContracts.Domain.Contracts.DTOs.Response;
|
|
|
|
namespace ProximaContracts.Application.Contracts.Services
|
|
{
|
|
public interface IContractService
|
|
{
|
|
|
|
Task<ContractByIdResponseDto> GetContractById(ContractByIdRequestDto dto);
|
|
Task<IEnumerable<GetContractsResponseDto>> GetContracts();
|
|
Task<CreateContractResponseDto> CreateContract(CreateContractRequestDto dto);
|
|
Task<UpdateContractResponseDto> UpdateContract(UpdateContractRequestDto dto);
|
|
}
|
|
}
|