13 lines
383 B
C#
13 lines
383 B
C#
using api.DTOs;
|
|
|
|
namespace api.Services
|
|
{
|
|
public interface IPersonService
|
|
{
|
|
Task<IEnumerable<PersonResponseDto>> GetAllPersonsAsync();
|
|
Task<PersonResponseDto> GetPersonByIdAsync(int id);
|
|
Task AddPersonAsync(PersonRequestDto PersonDto);
|
|
Task UpdatePersonAsync(int id, PersonRequestDto PersonDto);
|
|
Task DeletePersonAsync(int id);
|
|
}
|
|
} |