public MedicalController(IServiceProvider serviceProvider, IOptions <MyConfig> config, IHostingEnvironment hostingEnvironment)
        {
            this._hostingEnvironment = hostingEnvironment;

            this.config = config;

            _medicalService  = serviceProvider.GetService <IMedicalService>();
            _identityService = serviceProvider.GetService <IIdentityService>();
            _validateService = serviceProvider.GetService <IValidateService>();
        }
예제 #2
0
 public MedicineController(IMedicalService medicalService)
 {
     _medicalService = medicalService;
 }
 public MedicalTransactionsController(IMedicalService medicalService)
 {
     _medicalService = medicalService;
 }