Exemple #1
0
        public BossListCrewModel(Crew crew, ICollection<WorkOrder> workOrders)
        {
            Crew = crew;

            WorkOrders = workOrders.Where(w => w.Crew == crew).Select(w => new BossListWorkOrderModel(w)).ToList();
        }
Exemple #2
0
        public BossListCrewModel(Crew crew, ICollection <WorkOrder> workOrders)
        {
            Crew = crew;

            WorkOrders = workOrders.Where(w => w.Crew == crew).Select(w => new BossListWorkOrderModel(w)).ToList();
        }