public async Task <IActionResult> Create([Bind("Id,Name")] Position position) { if (ModelState.IsValid) { await _positionsService.AddAsync(position); return(RedirectToAction(nameof(Index))); } return(View(position)); }