public ChangePayService(CHISEntitiesSqlServer db, DispensingService dispensingSvr, IHostingEnvironment env , CustomerService cusSvr , PointsDetailService pointsService , TreatService treatSvr , AccessService accSvr , DispensingService dispSvr , Codes.Utility.XPay.AliPay aliPay , WeChatService weChatSvr , Code.Managers.IMyLogger logger , IHttpContextAccessor httpContextAccessor ) : base(db) { _dispensingSvr = dispensingSvr; _env = env; _cusSvr = cusSvr; _pointsService = pointsService; _treatSvr = treatSvr; _accSvr = accSvr; this._logger = logger; _aliPay = aliPay; _weChatSvr = weChatSvr; _httpContextAccessor = httpContextAccessor; }
public UserController(UserService userService, DiagnoseService diagnoseService, TreatService treatService, TreatImageService treatImageService, IOptions <MyOptions> optionsAccessor) { _userService = userService; _diagnoseService = diagnoseService; _treatService = treatService; _treatImageService = treatImageService; _optionsAccessor = optionsAccessor.Value; _lovePlatformApi = new LovePlatformAdminApi(_optionsAccessor.WebApiUrl); }
public DoctorController(IMemoryCache memoryCache , DispensingService dispensingSvr , DrugService drugSrv , Services.JKWebNetService jkSvr , AccessService accSvr , DictService dictSvr , TreatService treatSvr , IMapper mapper , DbContext.CHISEntitiesSqlServer db) : base(db) { _dispensingSvr = dispensingSvr; _drugSrv = drugSrv; _memoryCache = memoryCache; _jkSvr = jkSvr; _accSvr = accSvr; _dictSvr = dictSvr; _treatSvr = treatSvr; _mapper = mapper; }
public TreatController(TreatService treatService) { _treatService = treatService; }