Fix siemens path
Added user id in closed maintenances Minor fixes
This commit is contained in:
@@ -42,13 +42,14 @@ namespace Step.Database.Controllers
|
||||
}
|
||||
|
||||
|
||||
public PerformedMaintenanceModel PerformeMaintenance(uint counterValue, int maintenanceId)
|
||||
public PerformedMaintenanceModel PerformeMaintenance(uint counterValue, int maintenanceId, int userId)
|
||||
{
|
||||
PerformedMaintenanceModel performed = new PerformedMaintenanceModel()
|
||||
{
|
||||
CounterValue = (int)counterValue,
|
||||
Date = DateTime.Now,
|
||||
MaintenanceId = maintenanceId
|
||||
MaintenanceId = maintenanceId,
|
||||
MaintainerId = userId
|
||||
};
|
||||
|
||||
dbCtx.PerformedMaintenances.Add(performed);
|
||||
|
||||
Reference in New Issue
Block a user