Esempio n. 1
0
        public Cost CreateCost()
        {
            Cost c = new Cost();

            foreach (var ac in Assignments)
            {
                foreach (var a in ac)
                {
                    c.AddLessee(a.Lessee);
                }
            }
            costs.Add(c);
            return(c);
        }
Esempio n. 2
0
		public Cost CreateCost() {
			Cost c = new Cost();
			foreach ( var ac in Assignments ) {
				foreach ( var a in ac ) {
					c.AddLessee(a.Lessee);
				}
			}
			costs.Add(c);
			return c;
		}