public ItemCompraController( IHawkRepository <ItemCompra> repository, ICarrinhoRepository repositoryCarrinho ) { this.repository = repository; this.repositoryCarrinho = repositoryCarrinho; }
public ProdutoController(IHawkRepository <Produto> repository, IHostingEnvironment env) { this.repository = repository; string wwwroot = env.WebRootPath; this.wwwroot = wwwroot; this.nomePasta = "Resources"; this.caminho = Path.Combine(wwwroot, this.nomePasta); if (!Directory.Exists(this.caminho)) { Directory.CreateDirectory(this.caminho); } }
public CompraController(IHawkRepository <Compra> repository) { this.repository = repository; }
public CartaoController(IHawkRepository <Cartao> repository) { this.repository = repository; }
public EstoqueController(IHawkRepository <Estoque> repository) { this.repository = repository; }
public CategoriaController(IHawkRepository <Categoria> repository) { this.repository = repository; }
public ClienteController(IHawkRepository <Cliente> repository) { this.repository = repository; }
public EmpresaController(IHawkRepository <Empresa> repository) { this.repository = repository; }
public EnderecoClienteController(IHawkRepository <EnderecoCliente> repository) { this.repository = repository; }