public ForumAccessService()
 {
     forumAccess       = new ForumAccess();
     forumAccessList   = new List <ForumAccess>();
     groupService      = new GroupService();
     accessMaskService = new AccessMaskService();
 }
Ejemplo n.º 2
0
        public void DeleteBoard(string boardName)
        {
            AccessMaskService ams = new AccessMaskService();
            int boardID           = this.GetBoardID(boardName);

            ams.DeleteAllAccessMask(boardID);
            context.Board.Remove(context.Board.Where(m => m.Id == boardID).Single());
            context.SaveChanges();
        }