public UsersController(ILoginService loginService, IMapper mapper, IHelperImage helperImage, IPasswordHasher passwordHasher, IWebHostEnvironment env) { _loginService = loginService; _mapper = mapper; _helperImage = helperImage; _passwordHasher = passwordHasher; directory = env.ContentRootPath; }
public MarcasController(IMarcaService marcaService, IMapper mapper, IUriService uriService, IHelperImage helperImage, IWebHostEnvironment env) { _marcaService = marcaService; _mapper = mapper; _uriService = uriService; _helperImage = helperImage; directory = env.ContentRootPath; }
public VehiculosController(IVehiculoService vehiculoService, IMapper mapper, IUriService uriService, IHelperImage helperImage, IWebHostEnvironment env) { _helperImage = helperImage; _mapper = mapper; _uriService = uriService; _vehiculoService = vehiculoService; directory = env.ContentRootPath; }
public UsuariosController(IUsuarioService usuarioService, IMapper mapper, IUriService uriService, IHelperImage helperImage) { _usuarioService = usuarioService; _mapper = mapper; _uriService = uriService; _helperImage = helperImage; directory = Directory.GetCurrentDirectory(); }
public ClientesController(IClienteService clienteService, IMapper mapper, IUriService uriService, IHelperImage helperImage, IWebHostEnvironment env) { _clienteService = clienteService; _mapper = mapper; _uriService = uriService; _helperImage = helperImage; directory = env.ContentRootPath; }