示例#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();