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