Example #1
0
 public JsonResult GetQuyTrinhBuocNguoiNhanByBuocID(string BuocID)
 {
     try
     {
         using (MotCuaService = new MotCuaServiceClient())
         {
             var response = MotCuaService.MotCua_DM_QuyTrinh_Buoc_NguoiNhan_ListByBuocID(int.Parse(BuocID));
             return(Json(response.StatusCode != HttpStatusCode.OK ? null : new { response.Content }, JsonRequestBehavior.AllowGet));
         }
     }
     catch (Exception e)
     {
         Logger.Error(e.Message);
         Console.WriteLine(e);
         throw;
     }
 }