Ignore:
Timestamp:
07/29/20 20:02:58 (2 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
a55ef91
Parents:
de18858
Message:

Add services

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Startup.cs

    rde18858 r4e72684  
    11using Microsoft.AspNetCore.Builder;
    22using Microsoft.AspNetCore.Hosting;
    3 using Microsoft.AspNetCore.HttpsPolicy;
    43using Microsoft.AspNetCore.SpaServices.AngularCli;
    54using Microsoft.Extensions.Configuration;
     
    5049            services.AddTransient<IHealthFacilityRepository, HealthFacilityRepository>();
    5150            services.AddTransient<IHealthFacilityService, HealthFacilityService>();
     51
    5252            services.AddTransient<IHealthcareWorkerRepository, HealthcareWorkerRepository>();
    5353            services.AddTransient<IHealthcareWorkerService, HealthcareWorkerService>();
     54
     55            services.AddTransient<IMedicineRepository, MedicineRepository>();
     56            services.AddTransient<IMedicineService, MedicineService>();
     57
     58            services.AddTransient<IMedicineListRepository, MedicineListRepository>();
     59            services.AddTransient<IMedicineListService, MedicineListService>();
     60
     61            services.AddTransient<IPandemicRepository, PandemicRepository>();
     62            services.AddTransient<IPandemicService, PandemicService>();
     63
     64            services.AddTransient<IPharmacyHeadRepository, PharmacyHeadRepository>();
     65            services.AddTransient<IPharmacyHeadService, PharmacyHeadService>();
     66
     67            services.AddTransient<IPharmacyRepository, PharmacyRepository>();
     68            services.AddTransient<IPharmacyService, PharmacyService>();
    5469        }
    5570
Note: See TracChangeset for help on using the changeset viewer.