public void InstallUnity(IUnityContainer container)
 {
     container.RegisterInstance(ShopyDriveBuilder.GetDriver());
     container.RegisterAutoMapper <ShopyPublicUnityInstaller>();
     container.RegisterType <IProductsViewModelService, ProductsViewModelService>();
     container.AddLogging(factory =>
     {
         factory.AddFile(options => options.PathKey = "Logger.FilePath");
     });
 }
        public void InstallUnity(IUnityContainer container)
        {
            container.RegisterInstance(ShopyDriveBuilder.GetDriver());
            container.RegisterType <IAuthenticationUtils, AuthenticationUtils>();
            container.RegisterType <ISelectListUtils, SelectListUtils>();
            container.RegisterType(typeof(Lazy <>));
            container.RegisterType <IProductViewModelService, ProductViewModelService>();
            container.RegisterType <ICategoryViewModelService, CategoriesViewModelService>();
            container.RegisterAutoMapper <SelectListUtils>();

            container.AddLogging(factory =>
            {
                factory.AddFile(options => options.PathKey = "Logger.FilePath");
            });
        }