using Oqtane.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace Oqtane.Services { /// /// Manage s assigned to a specific /// public interface IUserRoleService { /// /// Get all s on a /// /// ID-reference to a /// Task> GetUserRolesAsync(int siteId); /// /// Get one specific /// /// ID-reference to a /// Task GetUserRoleAsync(int userRoleId); /// /// Save a new /// /// /// Task AddUserRoleAsync(UserRole userRole); /// /// Update a in the database /// /// /// Task UpdateUserRoleAsync(UserRole userRole); /// /// Delete a in the database /// /// /// Task DeleteUserRoleAsync(int userRoleId); } }