private SonarDTO ParsearCoordenadas(SonarConsulta sonar)
 {
     return(new SonarDTO()
     {
         Latitude = double.Parse(sonar.Latitude, System.Globalization.NumberStyles.Any, CultureInfo.GetCultureInfo("en-US")),
         Longitude = double.Parse(sonar.Longitude, System.Globalization.NumberStyles.Any, CultureInfo.GetCultureInfo("en-US")),
         Alcance = double.Parse(sonar.Alcance, System.Globalization.NumberStyles.Any, CultureInfo.GetCultureInfo("en-US"))
     });
 }
 public async Task <SonarRetorno> Consultar(SonarConsulta sonar)
 {
     return(_Requisicao.ExecutarRequisicao <SonarConsulta, SonarRetorno>(sonar, _BLL.Consultar).Result);
 }
 public async Task <SonarRetorno> Consultar(SonarConsulta sonar)
 {
     return(SonarDAL.Consultar(ParsearCoordenadas(sonar)));
 }