Beispiel #1
0
 public void UpdateProductType(T_POC_ProductType entity)
 {
     try
     {
         Save <T_POC_ProductType>(entity).Commit();
     }
     catch (Exception)
     {
         throw;
     }
 }
Beispiel #2
0
 public void AddProductType(T_POC_ProductType entity)
 {
     try
     {
         Add <T_POC_ProductType>(entity).Commit();
     }
     catch (Exception)
     {
         throw;
     }
 }
 public BaseResponse OperateProductType(T_POC_ProductType request)
 {
     try
     {
         PocProductDomainService.OperateProductType(request);
         return(ApiSuccessResult(""));
     }
     catch (Exception ex)
     {
         _Log4Net.Error("OperateProductType--异常信息", ex);
         return(ApiErrorResult(ex.Message));
     }
 }