HomeController.Homecontroller(Irepository<Issue>issue)
Hi, I don't understand why I am getting this error. Below is part of the home controller that I am using. I have tried everything. I am using aspnetcore mvc 3.1.
using System;
using System.Collections.Generic; (is not in dark print)
using System.Linq;
using System.Threading.Tasks; (is not in dark print)
using Bumples15.Models;
using Bumples15.Services;
using Bumples15.ViewModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering; (is not in dark print)
namespace Bumples15.Controllers
{
public class HomeController : Controller
{
private readonly IRepository<Issue> _issueRepo;
public HomeController(IRepository<Issue> issue)
{
_issueRepo = issue;
}
Thanks, Jen