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