Esempio n. 1
0
 public DispensingController(DispensingService cbl, DbContext.CHISEntitiesSqlServer db
                             , Services.JKWebNetService jkSvr
                             , Services.DispensingService dispSvr
                             , AutoMapper.IMapper mapper
                             , IHostingEnvironment env) : base(db)
 {
     _jkSvr    = jkSvr;
     _env      = env;
     _dispSvr  = dispSvr;
     _mapper   = mapper;
     this._cbl = cbl;
 }
Esempio n. 2
0
 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;
 }