14 lines
373 B
C#
14 lines
373 B
C#
using Contracts;
|
|
|
|
namespace Services.Abstractions
|
|
{
|
|
public interface IStreetService
|
|
{
|
|
Task<StreetDto> GetByIdAsync(Guid id);
|
|
Task<List<StreetDto>> GetAllAsync();
|
|
Task<StreetDto> CreateAsync(StreetDtoForCreate streetDto);
|
|
Task UpdateAsync(Guid streetId, StreetDtoForUpdate street);
|
|
Task DeleteAsync(Guid streetId);
|
|
}
|
|
}
|