Interface IProfileService
Service to store and retrieve Profile entries
public interface IProfileService
Methods
AddProfileAsync(Profile)
Creates a new profile entry
Task<Profile> AddProfileAsync(Profile profile)
Parameters
profile
Profile
Returns
- Task<Profile>
DeleteProfileAsync(int)
Deletes a profile entry
Task DeleteProfileAsync(int profileId)
Parameters
profileId
int
Returns
- Task
GetProfileAsync(int)
Returns a specific profile entry
Task<Profile> GetProfileAsync(int profileId)
Parameters
profileId
int
Returns
- Task<Profile>
GetProfilesAsync(int)
Returns a list of profile entries
Task<List<Profile>> GetProfilesAsync(int siteId)
Parameters
siteId
int
Returns
- Task<List<Profile>>
UpdateProfileAsync(Profile)
Updates an existing profile entry
Task<Profile> UpdateProfileAsync(Profile profile)
Parameters
profile
Profile
Returns
- Task<Profile>