Exemplo n.º 1
0
 public ServiceReviewsController(IMapper mapper, IServiceReviewRepository repository, IUnitOfWork unitOfWork, UserManager <ApplicationUser> userManager)
 {
     _mapper      = mapper;
     _repository  = repository;
     _unitOfWork  = unitOfWork;
     _userManager = userManager;
 }
Exemplo n.º 2
0
 public ManagementUnitOfWork(
     DbContext context,
     IdentityDbContext <ApplicationUser> appContext,
     ILinkRepository linkRepository,
     IPageRepository pageRepository,
     ITenantRepository tenantRepository,
     IEronFileRepository fileRepository,
     IBannerSliderRepository bannerSliderRepository,
     IOfferRepository offerRepository,
     IInvoiceRepository invoiceRepository,
     IInvoiceItemRepository invoiceItemRepository,
     IInvoiceLogRepository invoiceLogRepository,
     IWishListRepository wishListRepository,
     ICartRepository cartRepository,
     IOrderRepository orderRepository,
     ITariffRepository tariffRepository,
     ITariffPriceRepository tariffPriceRepository,
     ITariffItemRepository tariffItemRepository,
     IProductRepository productRepository,
     IProductPriceRepository productPriceRepository,
     IProductPropertyRepository productPropertyRepository,
     IProductPropertyNameRepository productPropertyNameRepository,
     IProductCategoryRepository productCategoryRepository,
     IServiceReviewRepository serviceReviewRepository,
     ITariffCategoryRepository tariffCategoryRepository, IFinanceTransactionRepository financeTransactionRepository, IBlogRepository blogRepository, IBlogArchiveRepository blogArchiveRepository, ICommentRepository commentRepository, ILikeRepository likeRepository, IHashTagRepository hashTagRepository) : base(context)
 {
     AppContext                    = appContext;
     LinkRepository                = linkRepository;
     PageRepository                = pageRepository;
     TenantRepository              = tenantRepository;
     FileRepository                = fileRepository;
     BannerSliderRepository        = bannerSliderRepository;
     OfferRepository               = offerRepository;
     InvoiceRepository             = invoiceRepository;
     InvoiceItemRepository         = invoiceItemRepository;
     InvoiceLogRepository          = invoiceLogRepository;
     WishListRepository            = wishListRepository;
     CartRepository                = cartRepository;
     OrderRepository               = orderRepository;
     TariffRepository              = tariffRepository;
     TariffPriceRepository         = tariffPriceRepository;
     TariffItemRepository          = tariffItemRepository;
     ProductRepository             = productRepository;
     ProductPriceRepository        = productPriceRepository;
     ProductPropertyRepository     = productPropertyRepository;
     ProductPropertyNameRepository = productPropertyNameRepository;
     ProductCategoryRepository     = productCategoryRepository;
     ServiceReviewRepository       = serviceReviewRepository;
     TariffCategoryRepository      = tariffCategoryRepository;
     FinanceTransactionRepository  = financeTransactionRepository;
     BlogRepository                = blogRepository;
     BlogArchiveRepository         = blogArchiveRepository;
     CommentRepository             = commentRepository;
     LikeRepository                = likeRepository;
     HashTagRepository             = hashTagRepository;
 }
Exemplo n.º 3
0
 public MapController(IMapper mapper, IServiceRepository repository,
                      IServiceLocationRepository locationRepository, IServiceReviewRepository serviceReviewRepository,
                      IServiceProviderRepository serviceProviderRepository,
                      IDistressedUsersRepository distressedUsersRepository,
                      UserManager <ApplicationUser> userManager)
 {
     _mapper                    = mapper;
     _repository                = repository;
     _locationRepository        = locationRepository;
     _serviceReviewRepository   = serviceReviewRepository;
     _distressedUsersRepository = distressedUsersRepository;
     _userManager               = userManager;
 }
Exemplo n.º 4
0
 public ServiceRequestsController(IMapper mapper, IServiceRequestRepository repository, IUnitOfWork unitOfWork, UserManager <ApplicationUser> userManager, IServiceRepository serviceRepository, IServiceProviderRepository serviceProviderRepository
                                  , IServiceReviewRepository serviceReviewRepository, IClientReviewRepository clientReviewRepository, IUserDeviceInformationRepository userDeviceInfoRepository,
                                  IFireBaseServiceClient fireBaseServiceClient)
 {
     _mapper                    = mapper;
     _repository                = repository;
     _unitOfWork                = unitOfWork;
     _userManager               = userManager;
     _serviceRepository         = serviceRepository;
     _serviceProviderRepository = serviceProviderRepository;
     _serviceReviewRepository   = serviceReviewRepository;
     _clientReviewRepository    = clientReviewRepository;
     _userDeviceInfoRepository  = userDeviceInfoRepository;
     _fireBaseServiceClient     = fireBaseServiceClient;
 }