public async Task OnGetAsync() { try { Tutorial = APILibrary.APIGetALL <List <Tutorial> >("Tutorials"); }catch {} }
public IEnumerable <Profile> Get() { /* var rng = new Random(); * return Enumerable.Range(1, 5).Select(index => new WeatherForecast * { * Date = DateTime.Now.AddDays(index), * TemperatureC = rng.Next(-20, 55), * Summary = Summaries[rng.Next(Summaries.Length)] * }) * .ToArray();*/ IEnumerable <Profile> profiles = APILibrary.APIGetALL <IEnumerable <Profile> >("Profiles"); return(profiles); }
public IEnumerable <Profile> Get() { IEnumerable <Profile> profiles = APILibrary.APIGetALL <IEnumerable <Profile> >("Profiles"); return(profiles); }