public AtributosController() { var ctxFactory = new EFDataContextFactory(); _attributeRepository = new AttributeRepository(ctxFactory); _categoryRepository = new CategoryRepository(ctxFactory); }
public HomeController() { var EFfactory = new EFDataContextFactory(); _categoryRepository = new CategoryRepository(EFfactory); _userRepository = new UserRepository(EFfactory); }
public ProductosController() { logger = LogManager.GetCurrentClassLogger(); var ctxFactory = new EFDataContextFactory(); _productRepository = new ProductRepository(ctxFactory); _placeRepository = new PlaceRepository(ctxFactory); }
public AccountController() { var ctxFactory = new EFDataContextFactory(); _userRepository = new UserRepository(ctxFactory); _categoryRepository = new CategoryRepository(ctxFactory); _placeRepository = new PlaceRepository(ctxFactory); }
public AdminController() { var ctxFactory = new EFDataContextFactory(); _productRepository = new ProductRepository(ctxFactory); _categoryRepository = new CategoryRepository(ctxFactory); _companyRepository = new CompanyRepository(ctxFactory); }
public ProductosController() { var ctxFactory = new EFDataContextFactory(); _productRepository = new ProductRepository(ctxFactory); _categoryRepository = new CategoryRepository(ctxFactory); _attributeRepository = new AttributeRepository(ctxFactory); _companyRepository = new CompanyRepository(ctxFactory); _placeRepository = new PlaceRepository(ctxFactory); }
public CategoriasController() { var ctxFactory = new EFDataContextFactory(); _categoryRepository = new CategoryRepository(ctxFactory); }
public EmpresasController() { var ctxFactory = new EFDataContextFactory(); _companyRepository = new CompanyRepository(ctxFactory); }