// GET: Defects public IActionResult Index() { return(View(defectsRepository.GetAll())); }
public IEnumerable <Defect> GetAllDefects() { return(_defectRepository.GetAll()); }