Sequence contains no elements
An error occurred while processing your request.
System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at SentaiFilmworksSite.DataAccess.SetLetterCount(List`1 catalogItems) in D:\git\sfw\SentaiFilmworksSite\Utility\DataAccess.cs:line 372 at SentaiFilmworksSite.DataAccess.<GetCatalogItemsByTitleIdsAsync>d__24.MoveNext() in D:\git\sfw\SentaiFilmworksSite\Utility\DataAccess.cs:line 362 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at SentaiFilmworksSite.Managers.CatalogManager.<GetCatalogSearch>d__0.MoveNext() in D:\git\sfw\SentaiFilmworksSite\Managers\CatalogManager.cs:line 17 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at SentaiFilmworksSite.Controllers.CatalogController.<Index>d__0.MoveNext() in D:\git\sfw\SentaiFilmworksSite\Controllers\CatalogController.cs:line 32