public IActionResult Patch([FromQuery] int id, [FromBody] Student student) { try { _studentApplication.Patch(id, student); return(Ok()); } catch (Exception ex) { return(NotFound(ex)); } }