Updated admin page to be more streamlined and added the beginning of the blogging features
This commit is contained in:
@@ -35,6 +35,7 @@ public class ArtifactGroupingProvider : IArtifactGroupingProvider
|
||||
.ThenInclude(e => e.ListedNames)
|
||||
.Include(g => g.ChildArtifactEntries)
|
||||
.ThenInclude(e => e.Defects)
|
||||
.Include(g => g.ViewCount)
|
||||
.Where(g => g.Id == id)
|
||||
.FirstOrDefaultAsync();
|
||||
}
|
||||
@@ -258,7 +259,6 @@ public class ArtifactGroupingProvider : IArtifactGroupingProvider
|
||||
|
||||
if (existingGrouping == null)
|
||||
{
|
||||
// The grouping does not exist. You may want to throw an exception or handle this case.
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -324,6 +324,7 @@ public class ArtifactGroupingProvider : IArtifactGroupingProvider
|
||||
existingEntry.AssociatedDates = updatedEntry.AssociatedDates;
|
||||
existingEntry.FileTextContent = updatedEntry.FileTextContent;
|
||||
existingEntry.Files = updatedEntry.Files;
|
||||
existingEntry.Quantity = updatedEntry.Quantity;
|
||||
|
||||
// The relations on updatedEntry are already de-duplicated, so just assign them.
|
||||
existingEntry.StorageLocation = updatedEntry.StorageLocation;
|
||||
|
||||
Reference in New Issue
Block a user