public static internalDTO.Location MapFromExternal(externalDTO.Location location) { var res = location == null ? null : new internalDTO.Location() { Id = location.Id, Locations = location.Locations }; return(res); }
public static internalDTO.Location MapFromExternal(externalDTO.Location Location) { var res = Location == null ? null : new internalDTO.Location { Id = Location.Id, Name = Location.Name, Description = Location.Description, AppUserId = Location.AppUserId, }; return(res); }