14 lines
353 B
C#
14 lines
353 B
C#
|
using Contracts;
|
|||
|
|
|||
|
namespace Services.Abstractions
|
|||
|
{
|
|||
|
public interface ICityService
|
|||
|
{
|
|||
|
Task<CityDto> GetByIdAsync(Guid id);
|
|||
|
Task<List<CityDto>> GetAllAsync();
|
|||
|
Task<CityDto> CreateAsync(CityDtoForCreate cityDto);
|
|||
|
Task UpdateAsync(Guid cityId, CityDtoForUpdate city);
|
|||
|
Task DeleteAsync(Guid cityId);
|
|||
|
}
|
|||
|
}
|