public void update(TennisEntity tennisPlayer) { var updatedTennisPlayer = new TennisModel() { Id = tennisPlayer.Id, Country = tennisPlayer.Country, Name = tennisPlayer.Name }; }
public TennisEntity MapModelToEntity(TennisModel tennisModel) { var TennisEntity = new TennisEntity() { Id = tennisModel.Id, Country = tennisModel.Country, Name = tennisModel.Name }; return(TennisEntity); }