public static ExcelMatch FromMatch(Match match)
{
var excelMatch = new ExcelMatch();
if (match == null)
return excelMatch;
excelMatch.MatchId = match.MatchId;
excelMatch.Navn = match.Navn;
excelMatch.StartTid = match.StartTid;
excelMatch.SluttTid = match.SluttTid;
excelMatch.GeoboxNWLatitude = match.GeoboxNWLatitude;
excelMatch.GeoboxNWLongitude = match.GeoboxNWLongitude;
excelMatch.GeoboxSELatitude = match.GeoboxSELatitude;
excelMatch.GeoboxSELongitude = match.GeoboxSELongitude;
return excelMatch;
}