public CustomerServices(IGRepository <Customer> Customer,
                         IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _CustomerRepositroy = Customer;
     _unitOfWork         = unitOfWork;
     _response           = responseDTO;
     _mapper             = mapper;
 }
 public MalfunctionServices(IGRepository <Malfunction> Malfunction,
                            IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _MalfunctionRepositroy = Malfunction;
     _unitOfWork            = unitOfWork;
     _response = responseDTO;
     _mapper   = mapper;
 }
 public AdvertisementViewServices(IGRepository <AdvertisementView> AdvertisementView,
                                  IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _AdvertisementViewRepositroy = AdvertisementView;
     _unitOfWork = unitOfWork;
     _response   = responseDTO;
     _mapper     = mapper;
 }
Beispiel #4
0
 public WorkshopRateServices(IGRepository <WorkshopRate> WorkshopRate,
                             IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _WorkshopRateRepositroy = WorkshopRate;
     _unitOfWork             = unitOfWork;
     _response = responseDTO;
     _mapper   = mapper;
 }
 public WorkshopNotificationsServices(IGRepository <WorkshopNotifications> WorkshopNotifications,
                                      IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _WorkshopNotificationsRepositroy = WorkshopNotifications;
     _unitOfWork = unitOfWork;
     _response   = responseDTO;
     _mapper     = mapper;
 }
Beispiel #6
0
 public AdminUsersServices(IGRepository <AdminUsers> AdminUsers,
                           IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _AdminUsersRepositroy = AdminUsers;
     _unitOfWork           = unitOfWork;
     _response             = responseDTO;
     _mapper = mapper;
 }
Beispiel #7
0
 public ContactUsMarketServices(IGRepository <ContactUsMarket> ContactUsMarket,
                                IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _ContactUsMarketRepositroy = ContactUsMarket;
     _unitOfWork = unitOfWork;
     _response   = responseDTO;
     _mapper     = mapper;
 }
 public WorkshopTechnicianServices(IGRepository <WorkshopTechnician> WorkshopTechnician,
                                   IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _WorkshopTechnicianRepositroy = WorkshopTechnician;
     _unitOfWork = unitOfWork;
     _response   = responseDTO;
     _mapper     = mapper;
 }
Beispiel #9
0
 public MarketFollowServices(IGRepository <MarketFollow> MarketFollow,
                             IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _MarketFollowRepositroy = MarketFollow;
     _unitOfWork             = unitOfWork;
     _response = responseDTO;
     _mapper   = mapper;
 }
Beispiel #10
0
 public PrivacyServices(IGRepository <Privacy> Privacy,
                        IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _PrivacyRepositroy = Privacy;
     _unitOfWork        = unitOfWork;
     _response          = responseDTO;
     _mapper            = mapper;
 }
Beispiel #11
0
 public DepartmentServices(IGRepository <Department> Department,
                           IUnitOfWork <DatabaseContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _departmentRepositroy = Department;
     _unitOfWork           = unitOfWork;
     _response             = responseDTO;
     _mapper = mapper;
 }
 public AboutUsServices(IGRepository <AboutUs> AboutUs,
                        IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _AboutUsRepositroy = AboutUs;
     _unitOfWork        = unitOfWork;
     _response          = responseDTO;
     _mapper            = mapper;
 }
 public CountryServices(IGRepository <Country> Country,
                        IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _CountryRepositroy = Country;
     _unitOfWork        = unitOfWork;
     _response          = responseDTO;
     _mapper            = mapper;
 }
 public FeaturesServices(IGRepository <Features> Features,
                         IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _FeaturesRepositroy = Features;
     _unitOfWork         = unitOfWork;
     _response           = responseDTO;
     _mapper             = mapper;
 }
Beispiel #15
0
 public CityServices(IGRepository <City> City,
                     IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     //  _View_CityRepositroy = View_CityRepositroy;
     _CityRepositroy = City;
     _unitOfWork     = unitOfWork;
     _response       = responseDTO;
     _mapper         = mapper;
 }
 public CityServices(IGRepository <City> City, IGRepository <View_City> View_CityRepositroy,
                     IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _View_CityRepositroy = View_CityRepositroy;
     _CityRepositroy      = City;
     _unitOfWork          = unitOfWork;
     _response            = responseDTO;
     _mapper = mapper;
 }
 public CarServices(IGRepository <Car> Car, IGRepository <Malfunction> Malfunction, IGRepository <Features> Features,
                    IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _CarRepositroy         = Car;
     _MalfunctionRepositroy = Malfunction;
     _FeaturesRepositroy    = Features;
     _unitOfWork            = unitOfWork;
     _response = responseDTO;
     _mapper   = mapper;
 }
Beispiel #18
0
 public CategoryServices(IGRepository <Category> Category, IGRepository <Advertisement> Advertisement,
                         IGRepository <AdvertisementView> AdvertisementView, IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork,
                         IResponseDTO responseDTO, IMapper mapper)
 {
     _CategoryRepositroy          = Category;
     _AdvertisementRepositroy     = Advertisement;
     _AdvertisementViewRepositroy = AdvertisementView;
     _unitOfWork = unitOfWork;
     _response   = responseDTO;
     _mapper     = mapper;
 }
Beispiel #19
0
 public UnitOfWork(SportsProContext sportsProContext, IGRepository <Product> productRepository,
                   IGRepository <Incident> incidentRepository, IGRepository <Technician> technicianRepository,
                   IGRepository <Customer> customerRepository, IGRepository <Registration> registrationRepository)
 {
     _sportsProContext      = sportsProContext;
     ProductRepository      = productRepository;
     IncidentRepository     = incidentRepository;
     TechnicianRepository   = technicianRepository;
     CustomerRepository     = customerRepository;
     RegistrationRepository = registrationRepository;
 }
Beispiel #20
0
        public WorkShopPreferServices(IGRepository <WorkShopPrefer> WorkShopPrefer, IGRepository <Customer> customer, IGRepository <Workshop> Workshop,
                                      IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
        {
            _WorkShopPreferRepositroy = WorkShopPrefer;
            _unitOfWork         = unitOfWork;
            _CustomerRepositroy = customer;
            _WorkshopRepositroy = Workshop;

            _response = responseDTO;
            _mapper   = mapper;
        }
Beispiel #21
0
 public OrderServices(IGRepository <Order> Order, IGRepository <Customer> customer, IGRepository <Workshop> Workshop,
                      IGRepository <CustomerNotifications> CustomerNotifications, IGRepository <WorkshopNotifications> WorkshopNotifications,
                      IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
 {
     _OrderRepositroy    = Order;
     _unitOfWork         = unitOfWork;
     _CustomerRepositroy = customer;
     _WorkshopRepositroy = Workshop;
     _CustomerNotificationsRepositroy = CustomerNotifications;
     _WorkshopNotificationsRepositroy = WorkshopNotifications;
     _response = responseDTO;
     _mapper   = mapper;
 }
Beispiel #22
0
        public WorkshopServices(IGRepository <Workshop> Workshop, IGRepository <WorkshopCar> Car,
                                IGRepository <City> CityWorkshopRepositroy,
                                IGRepository <WorkshopMalfunction> Malfunction, IGRepository <WorkshopFeatures> Features,
                                IGRepository <WorkshopWorkTime> WorkTimes,

                                IUnitOfWork <DB_A57576_SllehAppContext> unitOfWork, IResponseDTO responseDTO, IMapper mapper)
        {
            _CarWorkshopRepositroy         = Car;
            _MalfunctionWorkshopRepositroy = Malfunction;
            _FeaturesWorkshopRepositroy    = Features;
            _WorkTimeWorkshopRepositroy    = WorkTimes;
            _WorkshopRepositroy            = Workshop;
            _unitOfWork             = unitOfWork;
            _response               = responseDTO;
            _mapper                 = mapper;
            _CityWorkshopRepositroy = CityWorkshopRepositroy;
        }
 public AdvertisementServices(IGRepository <Advertisement> Advertisement
                              , IGRepository <AdvertisementView> AdvertisementView
                              , IUnitOfWork <DB_A56457_LookandGoContext> unitOfWork
                              , IResponseDTO responseDTO, IMapper mapper
                              , IGRepository <View_Advertisement> View_AdvertisementRepositroy
                              , IGRepository <AdvertisementOpen> AdvertisementOpen
                              , IGRepository <AdvertisementAttach> AdvertisementAttach
                              , IGRepository <AdvertisementCategory> AdvertisementCategory
                              , IGRepository <AdvertisementCity> AdvertisementCity)
 {
     _AdvertisementRepositroy         = Advertisement;
     _AdvertisementViewRepositroy     = AdvertisementView;
     _AdvertisementOpenRepositroy     = AdvertisementOpen;
     _AdvertisementAttachRepositroy   = AdvertisementAttach;
     _AdvertisementCategoryRepositroy = AdvertisementCategory;
     _AdvertisementCityRepositroy     = AdvertisementCity;
     _unitOfWork = unitOfWork;
     _response   = responseDTO;
     _mapper     = mapper;
     _View_AdvertisementRepositroy = View_AdvertisementRepositroy;
 }
Beispiel #24
0
 public DocumentService(IGRepository <Document> repository)
 {
     _repository = repository;
 }
 public ProductSettingController(AuthenticationContext context, IGRepository repository)
 {
     _repository = repository;
 }