Exemplo n.º 1
0
 public ProductController()
 {
     _commonRepository             = new commonRepository();
     _productCategoryRepository    = new ProductCategoryRepository();
     _productSubCategoryRepository = new ProductSubCategoryRepository();
     _productRepository            = new ProductRepository();
 }
Exemplo n.º 2
0
 public AccountController()
 {
     _user                         = new UserMasterRepository();
     _commonRepository             = new commonRepository();
     _registrationRepository       = new RegistrationRepository();
     _dealRepository               = new DealRepository();
     _schemeRepository             = new SchemeRepository();
     _productCategoryRepository    = new ProductCategoryRepository();
     _productSubCategoryRepository = new ProductSubCategoryRepository();
     _productRepository            = new ProductRepository();
     _licenceImagesReposiory       = new LicenceImagesReposiory();
     _orderRepository              = new OrderRepository();
     _orderItemRepository          = new OrderItemRepository();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProductCategoriesService"/> class.
 /// </summary>
 /// <param name="productSubCategoryRepository">The product sub category repository.</param>
 /// <param name="productCategoryRepository">The product category repository.</param>
 /// <param name="mapper">The mapper.</param>
 public ProductCategoriesService(IProductSubCategoryRepository productSubCategoryRepository, IProductCategoryRepository productCategoryRepository, IMapper mapper)
 {
     _productSubCategoryRepository = productSubCategoryRepository;
     _productCategoryRepository    = productCategoryRepository;
     _mapper = mapper;
 }
Exemplo n.º 4
0
 public ApiProductController()
 {
     _productCategoryRepository    = new ProductCategoryRepository();
     _productSubCategoryRepository = new ProductSubCategoryRepository();
     _productRepository            = new ProductRepository();
 }