public async Task <IActionResult> Create([Bind("id,name")] Operations operations) { if (ModelState.IsValid) { await _operationsService.AddAndSave(operations); } return(View(operations)); }
public async Task <IActionResult> Create([Bind("id,name")] Operations operations) { if (ModelState.IsValid) { await _operationsService.AddAndSave(operations); } return(View(operations)); }