From 7e126c4965cd5370af7278d41e805955105c3f38 Mon Sep 17 00:00:00 2001 From: baisong Date: Wed, 1 Sep 2021 21:06:42 +1200 Subject: [PATCH] Add brand activity log type when install system --- .../InstallDataActivityLogTypes.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 @@ protected virtual async Task InstallActivityLogTypes() 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); }