Beispiel #1
0
 public JsonResult GetUserRefundList()
 {
     return(JsonResultTryCatch(() => Json(new
     {
         IsSuccess = true,
         data = _rUserRefund
                .DbSet()
                .Include(r => r.User)
                .Include(r => r.Order)
                .AsNoTracking()
                .ToList <object>()
     })));
 }
Beispiel #2
0
        public JsonResult GetUserOrderList()
        {
            var data = _rUserOrders.DbSet().ToList <object>();

            return(JsonResultTryCatch(() => Json(new { IsSuccess = true, data })));
        }