private static GoogleMapViewModel ConvertToViewModel(GoogleMapDto dto)
 {
     return(new GoogleMapViewModel
     {
         Center = dto.Center,
         Markers = dto.Positions
     });
 }
 private static GoogleMapViewModel ConvertToViewModel(GoogleMapDto dto)
 {
     return new GoogleMapViewModel
     {
         Center = dto.Center,
         Markers = dto.Positions
     };
 }
        public ActionResult GoogleMap(Position center)
        {
            GoogleMapUco uco = new GoogleMapUco();

            GoogleMapDto dto = uco.GetViewModel(center);

            GoogleMapViewModel vm = ConvertToViewModel(dto);

            return(View("GoogleMap", vm));
        }