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