public UserController(IUserRepository repository, IMapper mapper, BlazorShopContext context) { _context = context; _mapper = mapper; _repository = repository; }
public CategoryController(ICategoryRepository repository, IMapper mapper, BlazorShopContext context) { _context = context; _mapper = mapper; _repository = repository; }
public OrderController(IMapper mapper, IOrderRepository orderRepository, IOrderProductRepository orderProductRepository, BlazorShopContext context) { _mapper = mapper; _context = context; _orderRepository = orderRepository; _orderProductRepository = orderProductRepository; }
public ProductController(IProductRepository repository, ICategoryRepository categoryRepository, IFileStorageService azureStorage, IMapper mapper, BlazorShopContext context) { _context = context; _azureStorage = azureStorage; _mapper = mapper; _repository = repository; _categoryRepository = categoryRepository; }
public OrderRepository(BlazorShopContext context) : base(context) { }
public AuthenticationService(BlazorShopContext context, IConfiguration configuration, IMapper mapper) { _context = context; _configuration = configuration; _mapper = mapper; }
public ProductRepository(BlazorShopContext context) : base(context) { }
public CategoryRepository(BlazorShopContext context) : base(context) { }