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

@@ -29,7 +29,7 @@ export class LayersListComponent implements OnInit {
LayerType = LayerType;
start = 0;
limit = 200;
limit = 50;
end: number = this.limit + this.start;
loadingInProgress = false;

View File

@@ -7,8 +7,8 @@ export const environment = {
appName: "LOCAL_DiunaBI",
production: false,
api: {
//url: "http://localhost:5400/api"
url: "https://diunabi-morska.bim-it.pl/api"
url: "http://localhost:5400/api"
//url: "https://diunabi-morska.bim-it.pl/api"
},
google: {
clientId: "107631825312-bkfe438ehr9k9ecb2h76g802tj6advma.apps.googleusercontent.com"

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
{