예제 #1
0
 public CommonResult <CraftsLineParamSet, VCraftsLineParamSetDetail> GetCLParamSetsList(string sessionId, int ID)
 {
     try
     {
         return(ForCLParamSetServices.GetInstance(sessionId).GetCLParamSetsList(ID));
     }
     catch (Exception ex)
     {
         throw new FaultException <CustomFaultMessage>(new CustomFaultMessage()
         {
             ErrorCode  = ex.HResult,
             Message    = ex.Message,
             StackTrace = ex.StackTrace
         }, ex.Message);
     }
 }
예제 #2
0
 public CommonResult <CraftsLineParamSet, VCraftsLineParamSetDetail> UpdateCLParamSet(string sessionId, CraftsLineParamSet model, List <VCraftsLineParamSetDetail> listModels)
 {
     try
     {
         return(ForCLParamSetServices.GetInstance(sessionId).UpdateCLParamSet(model, listModels));
     }
     catch (Exception ex)
     {
         throw new FaultException <CustomFaultMessage>(new CustomFaultMessage()
         {
             ErrorCode  = ex.HResult,
             Message    = ex.Message,
             StackTrace = ex.StackTrace
         }, ex.Message);
     }
 }