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
|
public interface IPersonService
|
||||||
{
|
{
|
||||||
Task<IEnumerable<PersonResponseDto>> GetAllPersonsAsync();
|
Task<IEnumerable<PersonDto>> GetAllPersonsAsync();
|
||||||
Task<PersonResponseDto> GetPersonByUsernameAsync(string username);
|
Task<PersonDto> GetPersonByUsernameAsync(string username);
|
||||||
Task AddPersonAsync(PersonRequestDto PersonDto);
|
Task AddPersonAsync(PersonDto PersonDto);
|
||||||
Task UpdatePersonAsync(Person person, PersonRequestDto PersonDto);
|
Task UpdatePersonAsync(string username, PersonDto PersonDto);
|
||||||
Task DeletePersonAsync(string username);
|
Task DeletePersonAsync(string username);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user