Example #1
0
 /// <summary>
 /// Hàm Khởi Tạo
 /// </summary>
 /// <param name="shopService"></param>
 /// <param name="districtService"></param>
 /// <param name="wardService"></param>
 /// <param name="cityService"></param>
 public ShopManagementController(IShopService shopService, IDistrictService districtService, IWardService wardService, ICityService cityService)
 {
     this.shopService     = shopService;
     this.districtService = districtService;
     this.wardService     = wardService;
     this.cityService     = cityService;
 }
Example #2
0
 public DistrictService(IRepository <District> districtRepository, IRepository <Ward> wardRepository,
                        IRepository <City> cityRepository, IWardService wardService)
 {
     _districtRepository = districtRepository;
     _wardRepository     = wardRepository;
     _cityRepository     = cityRepository;
     _wardService        = wardService;
 }
Example #3
0
 public WardController(IDistrictService districtService,
                       IProvinceService provinceService,
                       IWardService wardService)
 {
     _districtService = districtService;
     _provinceService = provinceService;
     _wardService     = wardService;
 }
Example #4
0
        public AccountManagementController(IUserService userService, IShopService shopService, IWardService wardService, IDistrictService districtService, ICityService cityService)
        {
            _userService = userService;
            _shopService = shopService;

            _wardService     = wardService;
            _districtService = districtService;
            _cityService     = cityService;
        }
Example #5
0
 public ShopUserController(IShopUserService ShopUserService, ICityService CityService, IDistrictService DistrictService, IWardService WardService, IRoleService RoleService, IUserService UserService)
 {
     this.shopUserService = ShopUserService;
     this.cityService     = CityService;
     this.districtService = DistrictService;
     this.wardService     = WardService;
     this.roleService     = RoleService;
     this.userService     = UserService;
 }
        public WardDetailController(

            IDistrictService DistrictService,
            IWardService WardService
            )
        {
            this.DistrictService = DistrictService;
            this.WardService     = WardService;
        }
Example #7
0
        public WardMasterController(

            IDistrictService DistrictService,
            IWardService WardService
            )
        {
            this.DistrictService = DistrictService;
            this.WardService     = WardService;
        }
 public StreetController(IDistrictService districtService,
                         IProvinceService provinceService,
                         IWardService wardService,
                         IStreetService streetService)
 {
     _districtService = districtService;
     _provinceService = provinceService;
     _wardService     = wardService;
     _streetService   = streetService;
 }
Example #9
0
 public WardController(
     IWardService _Ward
     , IvwWardService _vwWardService
     , IUserRepository _user
     )
 {
     WardService    = _Ward;
     vwWardService  = _vwWardService;
     userRepository = _user;
 }
Example #10
0
 public ElectionWardController(IRepository <ElectionWardListViewModel> ewardrepo, ElectionsIndiaContext db, IRepository <ElectionWard> ewrepo,
                               IRepository <ElectionArea> arerepo, IWardService wardService, IRepository <ElectionWard> wardRepo)
 {
     this.ewardrepo   = ewardrepo;
     this.db          = db;
     this.ewrepo      = ewrepo;
     this.arerepo     = arerepo;
     this.wardService = wardService;
     this.wardRepo    = wardRepo;
 }
 public PatientController(IGPService GPService, IWardService ward, IPatientService patientService,
                         IPatientDailyDiaryService patientDailyDiaryService, ICarePlanService carePlan,
                         IPatientVitalSignService patientVital, IAssesmentQuestionService assesment,
                         IPatientAppointmentService appointment)
 {
     this._GPService = GPService;
     this._ward = ward;
     this._patientService = patientService;
     this._patientDailyDiaryService = patientDailyDiaryService;
     this._carePlan = carePlan;
     _patientVital = patientVital;
     _assesment = assesment;
     _appointment = appointment;
 }
        public ShippingAddressDetailController(

            ICustomerService CustomerService,
            IDistrictService DistrictService,
            IProvinceService ProvinceService,
            IWardService WardService,
            IShippingAddressService ShippingAddressService
            )
        {
            this.CustomerService        = CustomerService;
            this.DistrictService        = DistrictService;
            this.ProvinceService        = ProvinceService;
            this.WardService            = WardService;
            this.ShippingAddressService = ShippingAddressService;
        }
Example #13
0
 public CheckOutController(UserManager <User> userManager, IHubContext <ChatHub> hubContext, IHostingEnvironment hostingEnvironment)
 {
     provinceService      = ServiceLocator.Current.GetInstance <IProvinceService>();
     districtService      = ServiceLocator.Current.GetInstance <IDistrictService>();
     wardService          = ServiceLocator.Current.GetInstance <IWardService>();
     orderService         = ServiceLocator.Current.GetInstance <IOrderService>();
     orderDetailService   = ServiceLocator.Current.GetInstance <IOrderDetailService>();
     productService       = ServiceLocator.Current.GetInstance <IProductService>();
     productDetailService = ServiceLocator.Current.GetInstance <IProductDetailService>();
     priceService         = ServiceLocator.Current.GetInstance <IProductPriceService>();
     productTypeService   = ServiceLocator.Current.GetInstance <IProductTypeService>();
     cartDetailService    = ServiceLocator.Current.GetInstance <ICartDetailService>();
     emailService         = ServiceLocator.Current.GetInstance <IEmailService>();
     this.userManager     = userManager;
     _hubContext          = hubContext;
     _hostingEnvironment  = hostingEnvironment;
 }
Example #14
0
 public StoreController(
     IAppUserService AppUserService,
     IDistrictService DistrictService,
     IOrganizationService OrganizationService,
     IProvinceService ProvinceService,
     IStatusService StatusService,
     IStoreGroupingService StoreGroupingService,
     IStoreStatusService StoreStatusService,
     IStoreTypeService StoreTypeService,
     IWardService WardService,
     IStoreService StoreService,
     IBusinessTypeService BusinessTypeService,
     IPositionService PositionService,
     IStoreDeliveryTimeService StoreDeliveryTimeService,
     IRelationshipCustomerTypeService RelationshipCustomerTypeService,
     IInfulenceLevelMarketService InfulenceLevelMarketService,
     IMarketPriceService MarketPriceService,
     IConsultingServiceService ConsultingServiceService,
     ICooperativeAttitudeService CooperativeAttitudeService,
     ICurrencyService CurrencyService,
     ICurrentContext CurrentContext
     , IHttpContextAccessor httpContextAccessor, DataContext _DataContext
     ) : base(httpContextAccessor, _DataContext)
 {
     this.AppUserService                  = AppUserService;
     this.DistrictService                 = DistrictService;
     this.OrganizationService             = OrganizationService;
     this.ProvinceService                 = ProvinceService;
     this.StatusService                   = StatusService;
     this.StoreGroupingService            = StoreGroupingService;
     this.StoreStatusService              = StoreStatusService;
     this.StoreTypeService                = StoreTypeService;
     this.WardService                     = WardService;
     this.StoreService                    = StoreService;
     this.BusinessTypeService             = BusinessTypeService;
     this.PositionService                 = PositionService;
     this.StoreDeliveryTimeService        = StoreDeliveryTimeService;
     this.RelationshipCustomerTypeService = RelationshipCustomerTypeService;
     this.InfulenceLevelMarketService     = InfulenceLevelMarketService;
     this.MarketPriceService              = MarketPriceService;
     this.ConsultingServiceService        = ConsultingServiceService;
     this.CooperativeAttitudeService      = CooperativeAttitudeService;
     this.CurrencyService                 = CurrencyService;
     this.CurrentContext                  = CurrentContext;
 }
Example #15
0
 public OrderService(IRepository <Order> OrderRepository, IOrderItemService OrderItemService, IWardService _wardService)
 {
     this._orderRepository  = OrderRepository;
     this._orderItemService = OrderItemService;
     this._wardService      = _wardService;
 }
Example #16
0
 public WardController(IWardService wardService) : base(wardService)
 {
     _wardService = wardService;
 }
Example #17
0
 public AddressController(CityService city, DistrictService district, WardService ward)
 {
     _cityService     = city;
     _wardService     = ward;
     _districtService = district;
 }
 public WardController(IWardService wardService)
 {
     _wardService = wardService;
 }
 public WardsController(IWardService baseService) : base(baseService)
 {
     _baseService = baseService;
 }
Example #20
0
        IWardService _iWardService;//Declare interface IWardService.

        ///<summary>
        ///The class constructor.
        ///</summary>
        public WardController(IWardService iWard)
        {
            this._iWardService = iWard;
        }
Example #21
0
 public WardsController(IWardService wardService, IHostingEnvironment env)
 {
     _wardService = wardService;
     _env         = env;
 }
Example #22
0
 public WardsController(IWardService wardService, IUnitOfWorkAsync unitOfWorkAsync)
 {
     _wardService     = wardService;
     _unitOfWorkAsync = unitOfWorkAsync;
 }