private async Task <GetPagedSpellsCommand> UpdatePaginationInfoAsync(GetPagedSpellsCommand command, int skip, int take)
        {
            command.PageNumber = (skip + take) / command.PageSize;

            long totalRecords = await Context.CountAsync();

            command.PageCount =
                totalRecords / command.PageSize < 1
                    ? 1
                    : totalRecords / command.PageSize;

            command.TotalRecords = totalRecords;

            return(command);;
        }