BooksServiceSample.Models.SampleBookChaptersRepository.FindAsync C# (CSharp) 메소드

FindAsync() 공개 메소드

public FindAsync ( System.Guid id ) : Task
id System.Guid
리턴 Task
        public Task<BookChapter> FindAsync(Guid id)
        {
            BookChapter chapter;
            _chapters.TryGetValue(id, out chapter);
            return Task.FromResult(chapter);
        }