WebAPI Layers controller fix
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user