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
DeleteProfileAsync(int)
Deletes a profile entry
Task DeleteProfileAsync(int profileId)
Parameters
profileId
int
Returns
GetProfileAsync(int)
Returns a specific profile entry
Task<Profile> GetProfileAsync(int profileId)
Parameters
profileId
int
Returns
GetProfilesAsync(int)
Returns a list of profile entries
Task<List<Profile>> GetProfilesAsync(int siteId)
Parameters
siteId
int
Returns
UpdateProfileAsync(Profile)
Updates an existing profile entry
Task<Profile> UpdateProfileAsync(Profile profile)
Parameters
profile
Profile