KPO_Course_Work/Address Directory/Services.Abstractions/ICityService.cs

14 lines
353 B
C#
Raw Normal View History

2024-12-08 22:57:55 +04:00
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);
}
}