public async Task <IActionResult> Update(Other other) { try { var updatedOther = await otherServ.Update(other); return(Ok(updatedOther)); } catch (Exception ex) { Console.Error.WriteLine(ex.Message); return(StatusCode(500)); } }