public IActionResult UpdateWitcher(Witcher witcher) { WitcherLogic.Update(witcher.WitcherID, witcher); return(RedirectToAction(nameof(ListAllWitchers))); }
public void UpdateWitcher(string oldid, [FromBody] Witcher item) { logic.Update(oldid, item); }