コード例 #1
0
 /// <summary>
 /// 强制移除用户
 /// </summary>
 /// <param name="import">数据集</param>
 /// <returns>返回操作结果</returns>
 public NormalResult RemoveUser(RemoveUserImport import)
 {
     try
     {
         import.CheckAllowExecuteOrNot(db);
         AuthorManager manager = new AuthorManager(db);
         manager.Remove(import);
         return new NormalResult();
     }
     catch (Exception ex)
     {
         return new NormalResult(ex.Message);
     }
 }