Example #1
0
        public ActionResult GetView2Update(decimal pID)
        {
            AppDDSHCN_BL  _obj_bl = new AppDDSHCN_BL();
            AppDDSHCNInfo pInfo   = _obj_bl.AppDDSHCNGetById(pID);

            return(PartialView("~/Areas/DaiDienSHCN/Views/DDSHCN/_PartialDaiDienSHCNUpdate.cshtml", pInfo));
        }
Example #2
0
 public ActionResult GetView2Detail(decimal pID)
 {
     try
     {
         if (pID == 0)
         {
             return(Json(new { success = -3 }));
         }
         AppDDSHCN_BL  _obj_bl = new AppDDSHCN_BL();
         AppDDSHCNInfo pInfo   = _obj_bl.AppDDSHCNGetById(pID);
         return(PartialView("~/Areas/DaiDienSHCN/Views/DDSHCN/_PartialDaiDienSHCNDetail.cshtml", pInfo));
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
         return(Json(new { success = -3 }));
     }
 }