public IHttpActionResult AddPlayer([FromBody] MatchModel match) { MatchModel matchModel = new MatchModel(); var matchDataModel = new MatchDataModel(); matchModel = matchDataModel.AddMatch(match); return(Ok(matchModel)); }
public IHttpActionResult AddPlayer([FromBody] MatchModel match) { MatchModel matchModel = new MatchModel(); var matchDataModel = new MatchDataModel(); matchModel = matchDataModel.AddMatch(match); return(Ok(matchModel)); }