public static void UpdateSueetieRole(bool isGroupAdminRole, bool isGroupUserRole, bool isBlogOwnerRole, string RoleName) { var provider = SueetieDataProvider.LoadProvider(); var _role = new SueetieRole { RoleName = RoleName, IsGroupUserRole = isGroupUserRole, IsGroupAdminRole = isGroupAdminRole, IsBlogOwnerRole = isBlogOwnerRole }; provider.UpdateSueetieRole(_role); ClearRolesListCache(); }
public static void CreateSueetieRole(SueetieRole sueetieRole) { var provider = SueetieDataProvider.LoadProvider(); provider.CreateSueetieRole(sueetieRole); }