private Town GetTown(string name) { var town = _townService.GetTownByName(name); if (town != null) { return(town); } return(new Town() { Name = name }); }