/// <summary> /// Показать адрес доставки на карте /// </summary> /// <returns></returns> private async Task <IActionResult> SendOrderAddressOnMap() { var Address = OrderFunction.GetAddress(OrderId); if (Address != null && Address.Adress.House != null) { Location location = new Location { Latitude = Convert.ToSingle(Address.Adress.House.Latitude), Longitude = Convert.ToSingle(Address.Adress.House.Longitude) }; await SendLocation(location); } return(OkResult); }