public ActionResult Cards(Guid id) { var employee = _attendanceFactory.GetEmployeeDao().Get(id); var cards = _attendanceFactory.GetCardDao().GetEmployeeCards(employee); return(View(new CardModelList() { Cards = CardModel.Paser(cards), Employee = employee })); }