コード例 #1
0
 public static object UpdateLimit(SessionInfo sessioninfo, MA_LIMIT record)
 {
     try
     {
         LookupBusiness _lookupbusiness = new LookupBusiness();
         record.ISACTIVE   = record.ISACTIVE == null || !record.ISACTIVE ? false : true;
         record.LABEL      = record.LABEL;
         record.LIMIT_TYPE = record.LIMIT_TYPE;
         record.INDEX      = record.INDEX;
         var updated = _lookupbusiness.UpdateLimit(sessioninfo, record);
         return(new { Result = "OK" });
     }
     catch (Exception ex)
     {
         return(new { Result = "ERROR", Message = ex.Message });
     }
 }
コード例 #2
0
ファイル: LookupUIP.cs プロジェクト: Theeranit/DealMarker
 public static object UpdateLimit(SessionInfo sessioninfo, MA_LIMIT record)
 {
     try
     {
         LookupBusiness _lookupbusiness = new LookupBusiness();
         record.ISACTIVE = record.ISACTIVE == null || !record.ISACTIVE ? false : true;
         record.LABEL = record.LABEL;
         record.LIMIT_TYPE = record.LIMIT_TYPE;
         record.INDEX = record.INDEX;
         var updated = _lookupbusiness.UpdateLimit(sessioninfo, record);
         return new { Result = "OK" };
     }
     catch (Exception ex)
     {
         return new { Result = "ERROR", Message = ex.Message };
     }
 }