// GET api/Phone public IQueryable <Phone> GetPhones() { return(service.GetAllPhones().AsQueryable()); }
public async Task <List <Phone> > GetPhones() { return(await phoneService.GetAllPhones()); }