Ignore:
Timestamp:
02/08/21 16:39:25 (22 months ago)
Author:
Dimitar Slezenkovski <dslezenkovski@…>
Branches:
master
Children:
8eb1e21, dae4cde
Parents:
0a694bb
Message:

Fix all bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Startup.cs

    r0a694bb re0cdea2  
    5454
    5555            services.AddScoped<IPHRepo, PHRepo>();
    56             services.AddTransient<IRepository, Repository>();
    57             services.AddTransient<IAdminRepo, AdminRepo>();
     56            services.AddScoped<IRepository, Repository>();
     57            services.AddScoped<IAdminRepo, AdminRepo>();
    5858
    59             services.AddTransient<IPHService, PHService>();
     59            services.AddScoped<IPHService, PHService>();
    6060            services.AddTransient<IAdminService, AdminService>();
    6161            services.AddTransient<IService, Service>();
Note: See TracChangeset for help on using the changeset viewer.