corrected types

This commit is contained in:
marco committed 2026-08-30 17:12:52 +02:00
1 parent 7d514d9b3c
commit 4736a69e50
1 file changed
+4 -3
+4 -3
View File
@@ -1,3 +1,4 @@
using api.Domain;
using api.DTOs; using api.DTOs;
namespace api.Services namespace api.Services
@@ -5,9 +6,9 @@ namespace api.Services
public interface IPersonService public interface IPersonService
{ {
Task<IEnumerable<PersonResponseDto>> GetAllPersonsAsync(); Task<IEnumerable<PersonResponseDto>> GetAllPersonsAsync();
Task<PersonResponseDto> GetPersonByIdAsync(int id); Task<PersonResponseDto> GetPersonByUsernameAsync(string username);
Task AddPersonAsync(PersonRequestDto PersonDto); Task AddPersonAsync(PersonRequestDto PersonDto);
Task UpdatePersonAsync(int id, PersonRequestDto PersonDto); Task UpdatePersonAsync(Person person, PersonRequestDto PersonDto);
Task DeletePersonAsync(int id); Task DeletePersonAsync(string username);
} }
} }