// GET: Home public ActionResult Index() { _unitofWork.UserRepository.Add(new User() { FirstName = "sa", Password = "******" }); _unitofWork.SaveDatabase(); return(View(_unitofWork.UserRepository.GetAll())); }