public IActionResult Info(int id) { var participant = ParticipantService .Include(t => t.User) .Include(t => t.SkillWorkers) .FindById(id); return(View(participant)); }
/// <summary> /// Все участники /// </summary> /// <returns></returns> public IActionResult All() { var model = ParticipantService .Include(t => t.SkillWorkers) .Include(t => t.Projects) .Include(t => t.User) .FindAll(); return(View(model.ToList())); }