/// <summary> /// 创建新的用户组 /// </summary> /// <param name="import">数据集</param> /// <returns>返回操作结果</returns> public NormalResult CreateUserGroup(CreateUserGroupImport import) { try { import.CheckAllowExecuteOrNot(db); UserGroupManager manager = new UserGroupManager(db); manager.Create(import); return new NormalResult(); } catch (Exception ex) { return new NormalResult(ex.Message); } }