using api.DTOs; namespace api.Services { public interface IPersonService { Task> GetAllPersonsAsync(); Task GetPersonByIdAsync(int id); Task AddPersonAsync(PersonRequestDto PersonDto); Task UpdatePersonAsync(int id, PersonRequestDto PersonDto); Task DeletePersonAsync(int id); } }