public static object UpdateTempLimit(SessionInfo sessioninfo, MA_COUNTRY_LIMIT record) { try { CountryBusiness _countryBusiness = new CountryBusiness(); record.LOG.MODIFYDATE = DateTime.Now; record.LOG.MODIFYBYUSERID = sessioninfo.CurrentUserId; var updateRecord = _countryBusiness.UpdateTempCountryLimit(sessioninfo, record); return(new { Result = "OK", Record = updateRecord }); } catch (Exception ex) { return(new { Result = "ERROR", Message = ex.Message }); } }