public async Task <IEnumerable <Restaurant> > GetAllRestaurantsAsync() => (await _database.All <Restaurant>()).AsEnumerable();
public async Task <bool> UserExists(string email) { return((await _database.All <User>()).Any(x => x.Email.Equals(email))); }