コード例 #1
0
 public List <ProductImagesWM> GetAllProductImages()
 {
     try
     {
         return(ProductImagesMapping.MaptoWM(_productImagesOperations.GetAllProductImages()));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }
コード例 #2
0
 public List <ProductImagesWM> FindProductImages(Expression <Func <ProductImages, bool> > predicate)
 {
     try
     {
         return(ProductImagesMapping.MaptoWM(_productImagesOperations.FindProductImages(predicate)));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }
コード例 #3
0
 public ProductImagesWM GetProductImage(int id)
 {
     try
     {
         return(ProductImagesMapping.MaptoWM(_productImagesOperations.GetProductImage(id)));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.ToString());
     }
 }