Exemplo n.º 1
0
        public static IServiceCollection ResolveDalDependencies(this IServiceCollection services)
        {
            services.AddScoped(c => MockDbContext.GetInstance());
            services.AddScoped <IRepository <Note>, NoteRepository>();

            return(services);
        }