corrected types
This commit is contained in:
1 parent
7d514d9b3c
commit
4736a69e50
1 file changed
+4
-3
@@ -1,3 +1,4 @@
|
||||
using api.Domain;
|
||||
using api.DTOs;
|
||||
|
||||
namespace api.Services
|
||||
@@ -5,9 +6,9 @@ namespace api.Services
|
||||
public interface IPersonService
|
||||
{
|
||||
Task<IEnumerable<PersonResponseDto>> GetAllPersonsAsync();
|
||||
Task<PersonResponseDto> GetPersonByIdAsync(int id);
|
||||
Task<PersonResponseDto> GetPersonByUsernameAsync(string username);
|
||||
Task AddPersonAsync(PersonRequestDto PersonDto);
|
||||
Task UpdatePersonAsync(int id, PersonRequestDto PersonDto);
|
||||
Task DeletePersonAsync(int id);
|
||||
Task UpdatePersonAsync(Person person, PersonRequestDto PersonDto);
|
||||
Task DeletePersonAsync(string username);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user