public ProductoController(IOptions <ConnectionString> _ConetionString, IProducto _Producto, IOptions <URLApiPath> _URLApiPath, UserManager <ApplicationUser> _userManager) { this._ConetionString = _ConetionString.Value; this._Producto = _Producto; this._URLApiPath = _URLApiPath.Value; this._userManager = _userManager; }
public FotosController(IHostingEnvironment _IEnviroment, IFotos _IFotos, IOptions <URLApiPath> _URLApiPath) { this._IEnviroment = _IEnviroment; this._IFotos = _IFotos; this._URLApiPath = _URLApiPath.Value; }