Merge branch 'netcore/dev' into netcore/7668-remove-repository-concerns-from-services

This commit is contained in:
Andy Butland
2020-03-30 14:17:16 +02:00
34 changed files with 1435 additions and 635 deletions

View File

@@ -319,7 +319,7 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
private void PersistAllowedSections(IUserGroup entity)
{
var userGroup = (UserGroup) entity;
var userGroup = entity;
// First delete all
Database.Delete<UserGroup2AppDto>("WHERE UserGroupId = @UserGroupId", new { UserGroupId = userGroup.Id });