コード例 #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;
 }
コード例 #2
0
 public DistrictService(IRepository <District> districtRepository, IRepository <Ward> wardRepository,
                        IRepository <City> cityRepository, IWardService wardService)
 {
     _districtRepository = districtRepository;
     _wardRepository     = wardRepository;
     _cityRepository     = cityRepository;
     _wardService        = wardService;
 }
コード例 #3
0
 public WardController(IDistrictService districtService,
                       IProvinceService provinceService,
                       IWardService wardService)
 {
     _districtService = districtService;
     _provinceService = provinceService;
     _wardService     = wardService;
 }
コード例 #4
0
        public AccountManagementController(IUserService userService, IShopService shopService, IWardService wardService, IDistrictService districtService, ICityService cityService)
        {
            _userService = userService;
            _shopService = shopService;

            _wardService     = wardService;
            _districtService = districtService;
            _cityService     = cityService;
        }
コード例 #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;
 }
コード例 #6
0
        public WardDetailController(

            IDistrictService DistrictService,
            IWardService WardService
            )
        {
            this.DistrictService = DistrictService;
            this.WardService     = WardService;
        }
コード例 #7
0
        public WardMasterController(

            IDistrictService DistrictService,
            IWardService WardService
            )
        {
            this.DistrictService = DistrictService;
            this.WardService     = WardService;
        }
コード例 #8
0
 public StreetController(IDistrictService districtService,
                         IProvinceService provinceService,
                         IWardService wardService,
                         IStreetService streetService)
 {
     _districtService = districtService;
     _provinceService = provinceService;
     _wardService     = wardService;
     _streetService   = streetService;
 }
コード例 #9
0
 public WardController(
     IWardService _Ward
     , IvwWardService _vwWardService
     , IUserRepository _user
     )
 {
     WardService    = _Ward;
     vwWardService  = _vwWardService;
     userRepository = _user;
 }
コード例 #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;
 }
コード例 #11
0
 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;
 }
コード例 #12
0
        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;
        }
コード例 #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;
 }
コード例 #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;
 }
コード例 #15
0
 public OrderService(IRepository <Order> OrderRepository, IOrderItemService OrderItemService, IWardService _wardService)
 {
     this._orderRepository  = OrderRepository;
     this._orderItemService = OrderItemService;
     this._wardService      = _wardService;
 }
コード例 #16
0
 public WardController(IWardService wardService) : base(wardService)
 {
     _wardService = wardService;
 }
コード例 #17
0
 public AddressController(CityService city, DistrictService district, WardService ward)
 {
     _cityService     = city;
     _wardService     = ward;
     _districtService = district;
 }
コード例 #18
0
 public WardController(IWardService wardService)
 {
     _wardService = wardService;
 }
コード例 #19
0
 public WardsController(IWardService baseService) : base(baseService)
 {
     _baseService = baseService;
 }
コード例 #20
0
        IWardService _iWardService;//Declare interface IWardService.

        ///<summary>
        ///The class constructor.
        ///</summary>
        public WardController(IWardService iWard)
        {
            this._iWardService = iWard;
        }
コード例 #21
0
 public WardsController(IWardService wardService, IHostingEnvironment env)
 {
     _wardService = wardService;
     _env         = env;
 }
コード例 #22
0
ファイル: WardsController.cs プロジェクト: Nanapj/404
 public WardsController(IWardService wardService, IUnitOfWorkAsync unitOfWorkAsync)
 {
     _wardService     = wardService;
     _unitOfWorkAsync = unitOfWorkAsync;
 }