public DataEntryLockViewModel(DataEntryLocks dataEntryLock, ResearchTeamMembers lockedUser) { this.dataEntryLockId = dataEntryLock.Id; this.LockedUser = lockedUser; this.InterventionDay = dataEntryLock.InterventionDay; this.LockStatus = dataEntryLock.Locked == "Y" ? true : false; }
public DataEntryMeasurementDayViewModel(InterventionDays interventionDay, DataEntryLocks dataEntryLock, ResearchTeamMembers lockedUser) { this.InterventionDay = interventionDay; this.DataEntryLock = dataEntryLock; this.LockedUser = lockedUser; }