public async Task AddMaintainedLogEntry(string projectId, string workorderTemplateId, string workOrderId, string userId, HardwareInDoorRequestModel hardwareItem, string doorId, string DoorNo, string checklistId) { var log = new HardwareMaintainedLog() { DoorNo = DoorNo, Header = hardwareItem.Header, FieldName = hardwareItem.FieldName, Content = hardwareItem.Content, ChecklistId = checklistId, IsMaintained = hardwareItem.IsMaintained, Metadata = new LogMetadata() { ProjectId = projectId, WorkorderTemplateId = workorderTemplateId, WorkorderId = workOrderId, DoorId = doorId, UserId = userId, Timestamp = DateTime.UtcNow, } }; await this.DataUnitOfWork.HardwareMaintainedLogRepository.AddLogEntry(log); }
public Task LogHardwareMounting(string projectId, string workorderTemplateId, string workOrderId, string userId, HardwareInDoorRequestModel hardwareList, string doorId, string DoorNo, string checklistId) { throw new NotImplementedException(); }