示例#1
0
        protected async Task <Series> FindInDatabaseAsync(string searchValue)
        {
            int showId = await _repo.FindIdByTitleNameAsync(searchValue);

            return(showId > 0
                ? await _repo.FindAsync(showId)
                : null);
        }