Beispiel #1
0
 public async Task <Meal> GetOneAsync(int id) => FakeDataService.Meals().FirstOrDefault(x => x.Id == id);
Beispiel #2
0
 public async Task <Week> GetOneAsync(int id) => FakeDataService.Weeks().FirstOrDefault(x => x.Id == id);
Beispiel #3
0
 public async Task <IEnumerable <Meal> > GetManyAsync(int?fk = default(int?)) => FakeDataService.Meals();
Beispiel #4
0
 public async Task <IEnumerable <Week> > GetManyAsync(int?fk = default(int?)) => FakeDataService.Weeks();
Beispiel #5
0
 public async Task <Client> GetOneAsync(int id) => FakeDataService.Clients().FirstOrDefault(x => x.Id == id);
Beispiel #6
0
 public async Task <IEnumerable <Client> > GetManyAsync(int?fk = default(int?)) => FakeDataService.Clients();
Beispiel #7
0
 public async Task <Recipe> GetOneAsync(int id) => FakeDataService.Recipes().FirstOrDefault(x => x.Id == id);
Beispiel #8
0
 public async Task <IEnumerable <Recipe> > GetManyAsync(int?fk = default(int?)) => FakeDataService.Recipes();