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

14 lines
376 B
C#
Raw Normal View History

2024-12-08 22:57:55 +04:00
using Contracts;
namespace Services.Abstractions
{
public interface IRegionService
{
Task<RegionDto> GetByIdAsync(Guid id);
Task<List<RegionDto>> GetAllAsync();
Task<RegionDto> CreateAsync(RegionDtoForCreate regionDto);
Task UpdateAsync(Guid regionId, RegionDtoForUpdate regionDto);
Task DeleteAsync(Guid regionId);
}
}