using Oqtane.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Oqtane.Services
{
///
/// Service to store and retrieve entries
///
public interface IProfileService
{
///
/// Returns a list of profile entries
///
///
///
Task> GetProfilesAsync(int siteId);
///
/// Returns a specific profile entry
///
///
///
Task GetProfileAsync(int profileId);
///
/// Creates a new profile entry
///
///
///
Task AddProfileAsync(Profile profile);
///
/// Updates an existing profile entry
///
///
///
Task UpdateProfileAsync(Profile profile);
///
/// Deletes a profile entry
///
///
///
Task DeleteProfileAsync(int profileId);
}
}