public ProductReviewUnitOfWork(ProductReviewContext context) { this.context = context; Mapper.Initialize(cfg => cfg.CreateMap <DAL.Category, Model.Category>()); }
public ProductReviewsController(ProductReviewContext context) { _context = context; }
public ProductReviewUnitOfWork(ProductReviewContext context) { this.context = context; Mapper.Initialize(cfg => cfg.CreateMap <DAL.Category, Model.Category>()); }
public ProductReviewsController(ProductReviewContext context) { _context = context; }