コード例 #1
0
ファイル: FakeDataService.cs プロジェクト: laurentran/cfs
 public async Task <Recipe> GetOneAsync(int id) => FakeDataService.Recipes().FirstOrDefault(x => x.Id == id);
コード例 #2
0
ファイル: FakeDataService.cs プロジェクト: laurentran/cfs
 public async Task <IEnumerable <Recipe> > GetManyAsync(int?fk = default(int?)) => FakeDataService.Recipes();