public ProductsController(ISupermarketRepository supermarketRepository,
                           IProductPropertyMappingService propertyMappingService, ITypeHelperService typeHelperService, IUrlHelper urlHelper)
 {
     _supermarketRepository  = supermarketRepository;
     _propertyMappingService = propertyMappingService;
     _typeHelperService      = typeHelperService;
     _urlHelper = urlHelper;
 }
 public SupermarketRepository(SupermarketContext context, IPropertyMappingService propertyMappingService,
                              IProductPropertyMappingService productPropertyMappingService, IStaffMemberPropertyMappingService staffMemberPropertyMappingService,
                              IStockPropertyMappingService stockPropertyMappingService)
 {
     _context = context;
     _propertyMappingService            = propertyMappingService;
     _productPropertyMappingService     = productPropertyMappingService;
     _staffMemberPropertyMappingService = staffMemberPropertyMappingService;
     _stockPropertyMappingService       = stockPropertyMappingService;
 }
 public SupermarketController(ISupermarketRepository supermarketRepository,
                              IUrlHelper urlHelper, IPropertyMappingService propertyMappingService, ITypeHelperService typeHelperService,
                              IProductPropertyMappingService productPropertyMappingService, IStaffMemberPropertyMappingService staffMemberPropertyMappingService)
 {
     _supermarketRepository             = supermarketRepository;
     _urlHelper                         = urlHelper;
     _propertyMappingService            = propertyMappingService;
     _typeHelperService                 = typeHelperService;
     _productPropertyMappingService     = productPropertyMappingService;
     _staffMemberPropertyMappingService = staffMemberPropertyMappingService;
 }