public IActionResult AddMatch([FromBody] Matches model) { if (ModelState.IsValid) { _service.AddMatch(model); } return(Ok("match added")); }