public async Task <IActionResult> Create([Bind("Id,MinimumConsumption,Price")] Step step) { if (ModelState.IsValid) { await _stepRepository.InsertStepAsync(step); return(RedirectToAction(nameof(Index))); } return(View(step)); }