public static object UpdateCSAType(SessionInfo sessioninfo, MA_CSA_TYPE record) { try { LookupBusiness _lookupbusiness = new LookupBusiness(); record.LABEL = record.LABEL.ToUpper(); var updated = _lookupbusiness.UpdateCSAType(sessioninfo, record); return(new { Result = "OK" }); } catch (Exception ex) { return(new { Result = "ERROR", Message = ex.Message }); } }
public static object UpdateCSAType(SessionInfo sessioninfo, MA_CSA_TYPE record) { try { LookupBusiness _lookupbusiness = new LookupBusiness(); record.LABEL = record.LABEL.ToUpper(); var updated = _lookupbusiness.UpdateCSAType(sessioninfo, record); return new { Result = "OK" }; } catch (Exception ex) { return new { Result = "ERROR", Message = ex.Message }; } }