Ignore:
Timestamp:
10/21/21 19:17:43 (3 years ago)
Author:
Стојков Марко <mst@…>
Branches:
dev
Children:
31c006c, 45cf412
Parents:
9885bee (diff), 95d80e4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merged feature unit of work into dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FinkiChattery/FinkiChattery.Api/Services/RegisterServices.cs

    r9885bee r3b395c5  
    99using FinkiChattery.Persistence.Models;
    1010using FinkiChattery.Persistence.Repositories;
     11using FinkiChattery.Persistence.UnitOfWork;
    1112using FinkiChattery.Queries.Questioning;
    1213using Hangfire;
     
    101102        }
    102103
    103         public static void AddRepos(this IServiceCollection services)
     104        public static void AddUnitOfWork(this IServiceCollection services)
    104105        {
    105             services.AddScoped<ICategoriesRepo, CategoriesRepo>();
    106             services.AddScoped<ITeamRepo, TeamRepo>();
    107             services.AddScoped<IQuestionRepo, QuestionRepo>();
    108             services.AddScoped<IStudentRepo, StudentRepo>();
     106            services.AddScoped<IUnitOfWork, UnitOfWork>();
    109107        }
    110108
Note: See TracChangeset for help on using the changeset viewer.