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