public async Task <ActionResult> Create(ProductViewModel model) { if (ModelState.IsValid) { var entityId = await licenseService.CreateProduct(model.Name, model.Description); return(RedirectToAction(nameof(Index))); } return(View()); }