public IActionResult Create(StudentViewModel model) { if (model.IsEmpty()) { return(View(model)); } _repository.AddItemAsync(model); return(Redirect("GetAll")); }