public IActionResult Save([FromBody] Revues r) { try { return(Ok(this.repo.Save(r))); } catch (Exception e) { return(BadRequest(e.Message)); } }
public IActionResult Update(Revues r) { try { return(Ok(this.repo.Update(r))); } catch (Exception e) { return(BadRequest(e.Message)); } }