refactored person service interface
This commit is contained in:
1 parent
532c258f1d
commit
2d83a2d3c5
1 file changed
+4
-4
@@ -5,10 +5,10 @@ namespace api.Services
|
||||
{
|
||||
public interface IPersonService
|
||||
{
|
||||
Task<IEnumerable<PersonResponseDto>> GetAllPersonsAsync();
|
||||
Task<PersonResponseDto> GetPersonByUsernameAsync(string username);
|
||||
Task AddPersonAsync(PersonRequestDto PersonDto);
|
||||
Task UpdatePersonAsync(Person person, PersonRequestDto PersonDto);
|
||||
Task<IEnumerable<PersonDto>> GetAllPersonsAsync();
|
||||
Task<PersonDto> GetPersonByUsernameAsync(string username);
|
||||
Task AddPersonAsync(PersonDto PersonDto);
|
||||
Task UpdatePersonAsync(string username, PersonDto PersonDto);
|
||||
Task DeletePersonAsync(string username);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user