public void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IResourceRouter, ResourceRouter>();
     dependencyContainer.RegisterDependency <IUsersService, UsersService>();
     dependencyContainer.RegisterDependency <IAlbumsService, AlbumsService>();
     dependencyContainer.RegisterDependency <ITrackService, TrackService>();
 }
Exemple #2
0
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IUsersService, UsersService>();
     dependencyContainer.RegisterDependency <IProductsService, ProductsService>();
     dependencyContainer.RegisterDependency <IOrdersService, OrdersService>();
     base.ConfigureServices(dependencyContainer);
 }
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IHashService, HashService>();
     dependencyContainer.RegisterDependency <IUserService, UserService>();
     dependencyContainer.RegisterDependency <IAlbumService, AlbumService>();
     dependencyContainer.RegisterDependency <ITrackService, TrackService>();
 }
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IUserService, UserService>();
     dependencyContainer.RegisterDependency <IReceiptsService, ReceiptsService>();
     dependencyContainer.RegisterDependency <IHomeService, HomeService>();
     dependencyContainer.RegisterDependency <IPackageService, PackageService>();
 }
Exemple #5
0
 public override void ConfigureServices(IDependencyContainer dependencies)
 {
     dependencies.RegisterDependency <ChushkaDbContext, ChushkaDbContext>();
     dependencies.RegisterDependency <IUsersService, UsersService>();
     dependencies.RegisterDependency <IProductsService, ProductsService>();
     dependencies.RegisterDependency <IOrdersService, OrdersService>();
     base.ConfigureServices(dependencies);
 }
Exemple #6
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <TorshiaContext, TorshiaContext>();

            dependencyContainer.RegisterDependency <IUserService, UserService>();

            base.ConfigureServices(dependencyContainer);
        }
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IHashService, HashService>();
     dependencyContainer.RegisterDependency <IUserCookieService, UserCookieService>();
     dependencyContainer.RegisterDependency <IUserService, UserService>();
     dependencyContainer.RegisterDependency <ITaskService, TaskService>();
     dependencyContainer.RegisterDependency <IReportService, ReportService>();
 }
 public override void ConfigureServices(IDependencyContainer dependencies)
 {
     dependencies.RegisterDependency <PandaDbContext, PandaDbContext>();
     dependencies.RegisterDependency <IUsersService, UsersService>();
     dependencies.RegisterDependency <IPackagesService, PackagesService>();
     dependencies.RegisterDependency <IReceiptsService, ReceiptsService>();
     base.ConfigureServices(dependencies);
 }
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <HomeController, HomeController>();
            dependencyContainer.RegisterDependency <UsersController, UsersController>();
            dependencyContainer.RegisterDependency <ChannelsController, ChannelsController>();

            dependencyContainer.RegisterDependency <IUserService, UserService>();
            dependencyContainer.RegisterDependency <IChannelService, ChannelService>();
        }
Exemple #10
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <HomeController, HomeController>();
            dependencyContainer.RegisterDependency <UsersController, UsersController>();
            //dependencyContainer.RegisterDependency<TasksController, TasksController>();
            //dependencyContainer.RegisterDependency<ReportersController, ReportersController>();

            dependencyContainer.RegisterDependency <IUserService, UserService>();
            dependencyContainer.RegisterDependency <ITaskService, TaskService>();
        }
Exemple #11
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <TorshiaDbContext, TorshiaDbContext>();

            dependencyContainer.RegisterDependency <IUsersService, UsersService>();
            dependencyContainer.RegisterDependency <ITasksService, TasksService>();
            dependencyContainer.RegisterDependency <IReportsService, ReportsService>();
            dependencyContainer.RegisterDependency <ISectorsService, SectorsService>();

            base.ConfigureServices(dependencyContainer);
        }
        public void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <TorshiaDbContext, TorshiaDbContext>();

            dependencyContainer.RegisterDependency <IHashService, HashService>();

            dependencyContainer.RegisterDependency <IUsersService, UsersService>();
            dependencyContainer.RegisterDependency <ITasksService, TasksService>();
            dependencyContainer.RegisterDependency <IReportsService, ReportsService>();
            //dependencyContainer.RegisterDependency<ISectorsService, SectorsService>();
        }
Exemple #13
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <HomeController, HomeController>();
            dependencyContainer.RegisterDependency <UsersController, UsersController>();

            dependencyContainer.RegisterDependency <IUserService, UserService>();

            dependencyContainer.RegisterDependency <ReceiptsController, ReceiptsController>();

            dependencyContainer.RegisterDependency <PackagesController, PackagesController>();
        }
Exemple #14
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <MishMashDbContext, MishMashDbContext>();

            dependencyContainer.RegisterDependency <IHashService, HashService>();

            dependencyContainer.RegisterDependency <IUsersService, UsersService>();
            dependencyContainer.RegisterDependency <IChannelsService, ChannelsService>();
            //dependencyContainer.RegisterDependency<IOrdersService, OrdersService>();

            base.ConfigureServices(dependencyContainer);
        }
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <MyExamDbContext, MyExamDbContext>();

            dependencyContainer.RegisterDependency <IHashService, HashService>();

            dependencyContainer.RegisterDependency <IUsersService, UsersService>();
            dependencyContainer.RegisterDependency <ITasksService, TasksService>();
            dependencyContainer.RegisterDependency <IReportsService, ReportsService>();

            base.ConfigureServices(dependencyContainer);
        }
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IHttpHandler, ControllerRouter>();
     dependencyContainer.RegisterDependency <HomeController, HomeController>();
     dependencyContainer.RegisterDependency <UserController, UserController>();
     dependencyContainer.RegisterDependency <AlbumController, AlbumController>();
     dependencyContainer.RegisterDependency <TrackService, TrackService>();
     dependencyContainer.RegisterDependency <IUserCookieService, UserCookieService>();
     dependencyContainer.RegisterDependency <IUserService, UserService>();
     dependencyContainer.RegisterDependency <IHashService, HashService>();
     dependencyContainer.RegisterDependency <IAlbumService, AlbumService>();
     dependencyContainer.RegisterDependency <ITrackService, TrackService>();
 }
Exemple #17
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <PandaDbContext, PandaDbContext>();

            dependencyContainer.RegisterDependency <IHashService, HashService>();

            dependencyContainer.RegisterDependency <IUsersService, UsersService>();
            dependencyContainer.RegisterDependency <IPackagesService, PackagesService>();
            dependencyContainer.RegisterDependency <IReceiptsService, ReceiptsService>();
            ////dependencyContainer.RegisterDependency<ISectorsService, SectorsService>();

            base.ConfigureServices(dependencyContainer);
        }
Exemple #18
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <HomeController, HomeController>();
            dependencyContainer.RegisterDependency <UsersController, UsersController>();
            dependencyContainer.RegisterDependency <ProductsController, ProductsController>();
            dependencyContainer.RegisterDependency <OrdersController, OrdersController>();

            dependencyContainer.RegisterDependency <IUserService, UserService>();
            dependencyContainer.RegisterDependency <IProductService, ProductService>();
            dependencyContainer.RegisterDependency <IOrderService, OrderService>();
        }
Exemple #19
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <MyExamDbContext, MyExamDbContext>();

            dependencyContainer.RegisterDependency <IHashService, HashService>();

            dependencyContainer.RegisterDependency <IUsersService, UsersService>();
            dependencyContainer.RegisterDependency <IProductsService, ProductsService>();
            dependencyContainer.RegisterDependency <IOrdersService, OrdersService>();
            dependencyContainer.RegisterDependency <IReceiptsService, ReceiptsService>();

            base.ConfigureServices(dependencyContainer);
        }
Exemple #20
0
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <DbContext, TorshiaDbContext>();
 }
Exemple #21
0
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IUserService, UserService>();
     dependencyContainer.RegisterDependency <IProductService, ProductService>();
 }
Exemple #22
0
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <TorshiaDbContext>();
     dependencyContainer.RegisterDependency <IHashService, HashService>();
     dependencyContainer.RegisterDependency <IUserCookieService, UserCookieService>();
 }
Exemple #23
0
        public override void ConfigureServices(IDependencyContainer dependencyContainer)
        {
            dependencyContainer.RegisterDependency <MusakaDbContext, MusakaDbContext>();

            base.ConfigureServices(dependencyContainer);
        }
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IUsersService, UsersService>();
     dependencyContainer.RegisterDependency <ITasksService, TasksService>();
     dependencyContainer.RegisterDependency <IReportsService, ReportsService>();
 }
Exemple #25
0
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer
     .RegisterDependency <IHashService, HashService>();
 }
Exemple #26
0
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <IUsersService, UserService>();
     dependencyContainer.RegisterDependency <IChannelService, ChannelService>();
 }
 public override void ConfigureServices(IDependencyContainer dependencyContainer)
 {
     dependencyContainer.RegisterDependency <HomeController, HomeController>();
 }