From b5d88122d51e8670a6f6a3143643e98be7e993ed Mon Sep 17 00:00:00 2001 From: Sabi Polikar Date: Fri, 2 May 2025 13:48:24 +0300 Subject: [PATCH] AddImagesFolder --- ...ner.cs => 20250502104655_InitialCreate.Designer.cs} | 10 +++++----- ...nitialCreate.cs => 20250502104655_InitialCreate.cs} | 4 ++-- .../Migrations/ConstructorContextModelSnapshot.cs | 8 ++++---- ConstructorAppUI/ConstructorAppUI.csproj | 1 + .../Controllers/ProjectGalleryController.cs | 2 -- 5 files changed, 12 insertions(+), 13 deletions(-) rename ConstructorApp.DataAccessLayer/Migrations/{20250501115426_InitialCreate.Designer.cs => 20250502104655_InitialCreate.Designer.cs} (99%) rename ConstructorApp.DataAccessLayer/Migrations/{20250501115426_InitialCreate.cs => 20250502104655_InitialCreate.cs} (98%) diff --git a/ConstructorApp.DataAccessLayer/Migrations/20250501115426_InitialCreate.Designer.cs b/ConstructorApp.DataAccessLayer/Migrations/20250502104655_InitialCreate.Designer.cs similarity index 99% rename from ConstructorApp.DataAccessLayer/Migrations/20250501115426_InitialCreate.Designer.cs rename to ConstructorApp.DataAccessLayer/Migrations/20250502104655_InitialCreate.Designer.cs index 929bb18..bf47fad 100644 --- a/ConstructorApp.DataAccessLayer/Migrations/20250501115426_InitialCreate.Designer.cs +++ b/ConstructorApp.DataAccessLayer/Migrations/20250502104655_InitialCreate.Designer.cs @@ -12,7 +12,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace ConstructorApp.DataAccessLayer.Migrations { [DbContext(typeof(ConstructorContext))] - [Migration("20250501115426_InitialCreate")] + [Migration("20250502104655_InitialCreate")] partial class InitialCreate { /// @@ -58,7 +58,7 @@ namespace ConstructorApp.DataAccessLayer.Migrations new { Id = 1, - ConcurrencyStamp = "3abf73f8-a18f-4452-9c3f-d8abf48c18c5", + ConcurrencyStamp = "e1751e37-e292-4ceb-ad62-c4f99644cb90", Name = "Admin", NormalizedName = "ADMIN" }); @@ -151,7 +151,7 @@ namespace ConstructorApp.DataAccessLayer.Migrations { Id = 1, AccessFailedCount = 0, - ConcurrencyStamp = "b899157c-b38b-43f9-8fdf-f04d21a0370c", + ConcurrencyStamp = "5deffe41-e67f-46ce-9958-71447a51ded6", ConfirmCode = 0, Email = "admin@example.com", EmailConfirmed = true, @@ -161,9 +161,9 @@ namespace ConstructorApp.DataAccessLayer.Migrations LockoutEnabled = false, NormalizedEmail = "ADMIN@EXAMPLE.COM", NormalizedUserName = "ADMIN", - PasswordHash = "AQAAAAIAAYagAAAAEDNJ/hC+Ey7MpD2q6eaGnJn6CQmUyNUgiZiUCdHqiAhGJsnhm+Q3VY+xhEZALFzeOA==", + PasswordHash = "AQAAAAIAAYagAAAAEIl8WRP0ke53eoeFSxWiTgRFJpeDuz3nloXC/deWyh8hrs982k+V0IuKDPgy/ZNdkQ==", PhoneNumberConfirmed = false, - SecurityStamp = "6d0581e4-af84-4438-aa89-17362a9302f4", + SecurityStamp = "89a0e6e1-07a8-4882-964e-a177a0f34a6e", TwoFactorEnabled = false, UserName = "admin" }); diff --git a/ConstructorApp.DataAccessLayer/Migrations/20250501115426_InitialCreate.cs b/ConstructorApp.DataAccessLayer/Migrations/20250502104655_InitialCreate.cs similarity index 98% rename from ConstructorApp.DataAccessLayer/Migrations/20250501115426_InitialCreate.cs rename to ConstructorApp.DataAccessLayer/Migrations/20250502104655_InitialCreate.cs index cb30695..2f800c0 100644 --- a/ConstructorApp.DataAccessLayer/Migrations/20250501115426_InitialCreate.cs +++ b/ConstructorApp.DataAccessLayer/Migrations/20250502104655_InitialCreate.cs @@ -388,12 +388,12 @@ namespace ConstructorApp.DataAccessLayer.Migrations migrationBuilder.InsertData( table: "AspNetRoles", columns: new[] { "Id", "ConcurrencyStamp", "Name", "NormalizedName" }, - values: new object[] { 1, "3abf73f8-a18f-4452-9c3f-d8abf48c18c5", "Admin", "ADMIN" }); + values: new object[] { 1, "e1751e37-e292-4ceb-ad62-c4f99644cb90", "Admin", "ADMIN" }); migrationBuilder.InsertData( table: "AspNetUsers", columns: new[] { "Id", "AccessFailedCount", "ConcurrencyStamp", "ConfirmCode", "Email", "EmailConfirmed", "FirstName", "ImageUrl", "LastName", "LockoutEnabled", "LockoutEnd", "NormalizedEmail", "NormalizedUserName", "PasswordHash", "PhoneNumber", "PhoneNumberConfirmed", "SecurityStamp", "TwoFactorEnabled", "UserName" }, - values: new object[] { 1, 0, "b899157c-b38b-43f9-8fdf-f04d21a0370c", 0, "admin@example.com", true, "Admin", "/SeedData/defaultuser.png", "Admin", false, null, "ADMIN@EXAMPLE.COM", "ADMIN", "AQAAAAIAAYagAAAAEDNJ/hC+Ey7MpD2q6eaGnJn6CQmUyNUgiZiUCdHqiAhGJsnhm+Q3VY+xhEZALFzeOA==", null, false, "6d0581e4-af84-4438-aa89-17362a9302f4", false, "admin" }); + values: new object[] { 1, 0, "5deffe41-e67f-46ce-9958-71447a51ded6", 0, "admin@example.com", true, "Admin", "/SeedData/defaultuser.png", "Admin", false, null, "ADMIN@EXAMPLE.COM", "ADMIN", "AQAAAAIAAYagAAAAEIl8WRP0ke53eoeFSxWiTgRFJpeDuz3nloXC/deWyh8hrs982k+V0IuKDPgy/ZNdkQ==", null, false, "89a0e6e1-07a8-4882-964e-a177a0f34a6e", false, "admin" }); migrationBuilder.InsertData( table: "CompanyInfo", diff --git a/ConstructorApp.DataAccessLayer/Migrations/ConstructorContextModelSnapshot.cs b/ConstructorApp.DataAccessLayer/Migrations/ConstructorContextModelSnapshot.cs index 2af2782..e3a7902 100644 --- a/ConstructorApp.DataAccessLayer/Migrations/ConstructorContextModelSnapshot.cs +++ b/ConstructorApp.DataAccessLayer/Migrations/ConstructorContextModelSnapshot.cs @@ -55,7 +55,7 @@ namespace ConstructorApp.DataAccessLayer.Migrations new { Id = 1, - ConcurrencyStamp = "3abf73f8-a18f-4452-9c3f-d8abf48c18c5", + ConcurrencyStamp = "e1751e37-e292-4ceb-ad62-c4f99644cb90", Name = "Admin", NormalizedName = "ADMIN" }); @@ -148,7 +148,7 @@ namespace ConstructorApp.DataAccessLayer.Migrations { Id = 1, AccessFailedCount = 0, - ConcurrencyStamp = "b899157c-b38b-43f9-8fdf-f04d21a0370c", + ConcurrencyStamp = "5deffe41-e67f-46ce-9958-71447a51ded6", ConfirmCode = 0, Email = "admin@example.com", EmailConfirmed = true, @@ -158,9 +158,9 @@ namespace ConstructorApp.DataAccessLayer.Migrations LockoutEnabled = false, NormalizedEmail = "ADMIN@EXAMPLE.COM", NormalizedUserName = "ADMIN", - PasswordHash = "AQAAAAIAAYagAAAAEDNJ/hC+Ey7MpD2q6eaGnJn6CQmUyNUgiZiUCdHqiAhGJsnhm+Q3VY+xhEZALFzeOA==", + PasswordHash = "AQAAAAIAAYagAAAAEIl8WRP0ke53eoeFSxWiTgRFJpeDuz3nloXC/deWyh8hrs982k+V0IuKDPgy/ZNdkQ==", PhoneNumberConfirmed = false, - SecurityStamp = "6d0581e4-af84-4438-aa89-17362a9302f4", + SecurityStamp = "89a0e6e1-07a8-4882-964e-a177a0f34a6e", TwoFactorEnabled = false, UserName = "admin" }); diff --git a/ConstructorAppUI/ConstructorAppUI.csproj b/ConstructorAppUI/ConstructorAppUI.csproj index 2b6d6d9..53a2caa 100644 --- a/ConstructorAppUI/ConstructorAppUI.csproj +++ b/ConstructorAppUI/ConstructorAppUI.csproj @@ -34,6 +34,7 @@ + diff --git a/ConstructorAppUI/Controllers/ProjectGalleryController.cs b/ConstructorAppUI/Controllers/ProjectGalleryController.cs index 4a456d5..0e6ce31 100644 --- a/ConstructorAppUI/Controllers/ProjectGalleryController.cs +++ b/ConstructorAppUI/Controllers/ProjectGalleryController.cs @@ -116,7 +116,5 @@ namespace ConstructorAppUI.Controllers return RedirectToAction("Index", "ProjectGallery", new { id = projectId }); } - - } }