예제 #1
0
 public static object UpdateCurrency(SessionInfo sessioninfo, MA_CURRENCY record)
 {
     try
     {
         LookupBusiness _lookupbusiness = new LookupBusiness();
         record.ISACTIVE = record.ISACTIVE == null || !record.ISACTIVE.Value ? false : true;
         record.LABEL    = record.LABEL.ToUpper();
         var updated = _lookupbusiness.UpdateCurrency(sessioninfo, record);
         return(new { Result = "OK" });
     }
     catch (Exception ex)
     {
         return(new { Result = "ERROR", Message = ex.Message });
     }
 }
예제 #2
0
 public static object UpdateCurrency(SessionInfo sessioninfo, MA_CURRENCY record)
 {
     try
     {
         LookupBusiness _lookupbusiness = new LookupBusiness();
         record.ISACTIVE = record.ISACTIVE == null || !record.ISACTIVE.Value ? false : true;
         record.LABEL = record.LABEL.ToUpper();
         var updated = _lookupbusiness.UpdateCurrency(sessioninfo, record);
         return new { Result = "OK" };
     }
     catch (Exception ex)
     {
         return new { Result = "ERROR", Message = ex.Message };
     }
 }