/// <summary> /// gia hạn bên trái /// </summary> /// <param name="obj"></param> /// <returns></returns> public JsonResult ExtendAllCardV2(ActiveCardCustomViewModel obj) { try { var customergroups = GetListChild("", obj.CustomerGroup); var list = _tblCardService.GetCard(obj.KeyWord, obj.AnotherKey, obj.CardGroup, customergroups, "", ""); //gia hạn var result = Extend(list, obj); return(Json(result, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { var result = new MessageReport(); result.Message = ex.Message; result.isSuccess = false; return(Json(result, JsonRequestBehavior.AllowGet)); } }