public static Clima GetClima(string nombreRegion) { try { var dao = new DaoWeather(config); return(dao.GetClima(new Sucursal(nombreRegion))); } catch (Exception ex) { throw ex; } }
public static Clima GetClima(float latitud, float longitud) { try { var dao = new DaoWeather(config); return(dao.GetClima(new Coordenadas(latitud, longitud))); } catch (Exception ex) { throw ex; } }