Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Add brand activity log type when install system (#103)

Bai8a98a094ac0b
diff --git a/src/Business/Grand.Business.System/Services/Installation/InstallDataActivityLogTypes.cs b/src/Business/Grand.Business.System/Services/Installation/InstallDataActivityLogTypes.cs
index 8845d70db..d0697fc33 100644
--- a/src/Business/Grand.Business.System/Services/Installation/InstallDataActivityLogTypes.cs
+++ b/src/Business/Grand.Business.System/Services/Installation/InstallDataActivityLogTypes.cs
@@ -601,6 +601,24 @@ namespace Grand.Business.System.Services.Installation
Enabled = true,
Name = "Delete knowledgebase category"
},
+ new ActivityLogType
+ {
+ SystemKeyword = "AddNewBrand",
+ Enabled = true,
+ Name = "Add a new brand"
+ },
+ new ActivityLogType
+ {
+ SystemKeyword = "EditBrand",
+ Enabled = true,
+ Name = "Edit a brand"
+ },
+ new ActivityLogType
+ {
+ SystemKeyword = "DeleteBrand",
+ Enabled = true,
+ Name = "Delete a brand"
+ },
};
await _activityLogTypeRepository.InsertAsync(activityLogTypes);
}