예제 #1
0
 public ResultInfo.Result Delete(long id)
 {
     try
     {
         db.AppDelete(id);
         return(Result.GenerateOKResult("Deleted", id.ToString()));
     }
     catch
     {
         return(Result.GenerateFailedResult());
     }
 }