public List <ProductImagesWM> GetAllProductImages() { try { return(ProductImagesMapping.MaptoWM(_productImagesOperations.GetAllProductImages())); } catch (Exception ex) { throw new Exception(ex.ToString()); } }
public List <ProductImagesWM> FindProductImages(Expression <Func <ProductImages, bool> > predicate) { try { return(ProductImagesMapping.MaptoWM(_productImagesOperations.FindProductImages(predicate))); } catch (Exception ex) { throw new Exception(ex.ToString()); } }
public ProductImagesWM GetProductImage(int id) { try { return(ProductImagesMapping.MaptoWM(_productImagesOperations.GetProductImage(id))); } catch (Exception ex) { throw new Exception(ex.ToString()); } }