protected internal short GetDaysOff(IEnumerable <TimeOffWithCounterVM> timesOffWithCounter, TimeOffType timeOffType) { return(timesOffWithCounter.Where(l => l.TimeOffType == timeOffType).Select(l => l.Count).FirstOrDefault()); }
public bool Equals(TimeOffType other) { return(Title.Equals(other.Title)); }