WebAPI Layers controller fix

This commit is contained in:
Michał Zieliński
2023-10-20 09:28:42 +02:00
parent f79a07eff4
commit 2417ebd392
3 changed files with 5 additions and 6 deletions

View File

@@ -397,7 +397,7 @@ namespace WebAPI.Controllers
});
}
public Layer AddLayer(Layer input, Guid currentUserId)
internal Layer AddLayer(Layer input, Guid currentUserId)
{
input.CreatedById = currentUserId;
input.ModifiedById = currentUserId;
@@ -408,8 +408,7 @@ namespace WebAPI.Controllers
db.SaveChanges();
return input;
}
public void SaveRecords(Guid id, ICollection<Record> records, Guid currentUserId)
internal void SaveRecords(Guid id, ICollection<Record> records, Guid currentUserId)
{
try
{