????

Your IP : 18.188.149.194


Current Path : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/api/logs/
Upload File :
Current File : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/api/logs/stdout_20231122052746_8488.log

info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\inetpub\vhost\binhdinhf1.gdtsolutions.vn\api
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (73ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (45ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT 1
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT OBJECT_ID(N'[__EFMigrationsHistory]');
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT [MigrationId], [ProductVersion]
      FROM [__EFMigrationsHistory]
      ORDER BY [MigrationId];
info: Microsoft.EntityFrameworkCore.Migrations[20405]
      No migrations were applied. The database is already up to date.
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [identity].[AspNetRoles] AS [a]) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT CASE
          WHEN EXISTS (
              SELECT 1
              FROM [identity].[AspNetUsers] AS [a]) THEN CAST(1 AS bit)
          ELSE CAST(0 AS bit)
      END
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (32ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (13ms) [Parameters=[@__normalizedUserName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[NormalizedUserName] = @__normalizedUserName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (20ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Albums]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Albums]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (7ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Albums]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Albums]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Albums]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__p_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__p_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Albums]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (28ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (22ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
      SELECT NEXT VALUE FOR [EntityFrameworkHiLoSequence]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (14ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (Size = 1000), @p4='?' (Size = 200), @p5='?' (Size = 200), @p6='?' (Size = 200), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 100), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Albums] ([Id], [CreatedBy], [CreatedOn], [Description], [FeaturedImage], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Name], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (9ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (11ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Image'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (24ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (10ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 100), @p2='?' (Size = 300), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (DbType = DateTime2), @p6='?' (Size = 200), @p7='?' (Size = 500), @p8='?' (Size = 50), @p9='?' (DbType = DateTime2), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Media] ([Id], [Author], [Caption], [ContentType], [CreatedBy], [CreatedOn], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p10='?' (DbType = Guid), @p0='?' (Size = 100), @p1='?' (Size = 300), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (DbType = DateTime2), @p5='?' (Size = 200), @p6='?' (Size = 500), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      UPDATE [Media] SET [Author] = @p0, [Caption] = @p1, [ContentType] = @p2, [CreatedBy] = @p3, [CreatedOn] = @p4, [Keywords] = @p5, [Link] = @p6, [ModifiedBy] = @p7, [ModifiedOn] = @p8, [Type] = @p9
      OUTPUT 1
      WHERE [Id] = @p10;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (Size = 1000), @p4='?' (Size = 200), @p5='?' (Size = 200), @p6='?' (Size = 200), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 100), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Albums] ([Id], [CreatedBy], [CreatedOn], [Description], [FeaturedImage], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Name], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?' (Size = 50), @p2='?' (DbType = DateTime2), @p3='?' (Size = 1000), @p4='?' (Size = 200), @p5='?' (Size = 200), @p6='?' (Size = 200), @p7='?' (Size = 50), @p8='?' (DbType = DateTime2), @p9='?' (Size = 100), @p10='?' (Size = 5)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      INSERT INTO [Albums] ([Id], [CreatedBy], [CreatedOn], [Description], [FeaturedImage], [Keywords], [Link], [ModifiedBy], [ModifiedOn], [Name], [Type])
      VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (13ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (6ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
      An unhandled exception has occurred while executing the request.
      System.IO.IOException: The process cannot access the file 'video_600360692088401.mp4' because it is being used by another process.
         at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
         at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
         at GDT.BinhDinhF1.Services.UploadService.DeleteUpload(String key)
         at GDT.BinhDinhF1.Controllers.MediaController.Delete(Guid key)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.OData.Routing.ODataRouteDebugMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.OData.Query.ODataQueryRequestMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.OData.Batch.ODataBatchMiddleware.Invoke(HttpContext context)
         at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
         at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
         at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@p0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SET IMPLICIT_TRANSACTIONS OFF;
      SET NOCOUNT ON;
      DELETE FROM [Media]
      OUTPUT 1
      WHERE [Id] = @p0;
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (5ms) [Parameters=[@__get_Item_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[AccessFailedCount], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[Email], [a].[EmailConfirmed], [a].[LockoutEnabled], [a].[LockoutEnd], [a].[ModifiedBy], [a].[ModifiedOn], [a].[NormalizedEmail], [a].[NormalizedUserName], [a].[PasswordHash], [a].[PhoneNumber], [a].[PhoneNumberConfirmed], [a].[SecurityStamp], [a].[TwoFactorEnabled], [a].[UserName]
      FROM [identity].[AspNetUsers] AS [a]
      WHERE [a].[Id] = @__get_Item_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__user_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[ClaimType], [a].[ClaimValue], [a].[UserId]
      FROM [identity].[AspNetUserClaims] AS [a]
      WHERE [a].[UserId] = @__user_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a0].[Name]
      FROM [identity].[AspNetUserRoles] AS [a]
      INNER JOIN [identity].[AspNetRoles] AS [a0] ON [a].[RoleId] = [a0].[Id]
      WHERE [a].[UserId] = @__userId_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__normalizedName_0='?' (Size = 256)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(1) [a].[Id], [a].[ConcurrencyStamp], [a].[CreatedBy], [a].[CreatedOn], [a].[DisplayName], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[NormalizedName]
      FROM [identity].[AspNetRoles] AS [a]
      WHERE [a].[NormalizedName] = @__normalizedName_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (1ms) [Parameters=[@__role_Id_0='?' (DbType = Guid)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[ClaimType], [a].[ClaimValue]
      FROM [identity].[AspNetRoleClaims] AS [a]
      WHERE [a].[RoleId] = @__role_Id_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      ORDER BY [a].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (3ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (4ms) [Parameters=[@__key_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT [a].[Id], [a].[CreatedBy], [a].[CreatedOn], [a].[Description], [a].[FeaturedImage], [a].[Keywords], [a].[Link], [a].[ModifiedBy], [a].[ModifiedOn], [a].[Name], [a].[Type]
      FROM [Albums] AS [a]
      WHERE [a].[Id] = @__key_0
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_3='?' (DbType = Int32), @__TypedProperty_0='?' (DbType = Int32), @__TypedProperty_1='?' (DbType = Int32), @__TypedProperty_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_3) [t].[Id], [t].[Author], [t].[Caption], [t].[ContentType], [t].[CreatedBy], [t].[CreatedOn], [t].[Keywords], [t].[Link], [t].[ModifiedBy], [t].[ModifiedOn], [t].[Type]
      FROM (
          SELECT [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
          FROM [Media] AS [m]
          WHERE EXISTS (
              SELECT 1
              FROM [MediaAlbums] AS [m0]
              WHERE [m].[Id] = [m0].[MediaId] AND [m0].[AlbumId] = @__TypedProperty_0)
          ORDER BY [m].[Id]
          OFFSET @__TypedProperty_1 ROWS FETCH NEXT @__TypedProperty_2 ROWS ONLY
      ) AS [t]
      ORDER BY [t].[Id]
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
      Executed DbCommand (2ms) [Parameters=[@__TypedProperty_0='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30']
      SELECT TOP(@__TypedProperty_0) [m].[Id], [m].[Author], [m].[Caption], [m].[ContentType], [m].[CreatedBy], [m].[CreatedOn], [m].[Keywords], [m].[Link], [m].[ModifiedBy], [m].[ModifiedOn], [m].[Type]
      FROM [Media] AS [m]
      WHERE [m].[Type] = N'Video'
      ORDER BY [m].[Id]
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...