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