Exemplo n.º 1
0
 public Proposal(Counselor c)
 {
     Counselor = c;
     CounselorId = c.Id;
 }
Exemplo n.º 2
0
        public List<Round> GetRoundByCounselor(Counselor counselor)
        {
            List<Round> rounds = new List<Round>();

            foreach (Round round in Rounds)
            {
                if (round.Contain(counselor))
                {
                    rounds.Add(round);
                }

            }


            return rounds;
        }
Exemplo n.º 3
0
 internal bool Contain(Counselor counselor)
 {
     return true;
     //return (from Meeting m in meetings
     //        where m.Counselor != null && m.Counselor.Id == counselor.Id
     //        select m).Count() > 0;
 }
Exemplo n.º 4
0
        private CounselorPaymentInfo CalculateCounselorPayment(Counselor counselor, int numberOfRounds, ActivityType activityType)
        {
            CounselorPaymentInfo paymentInfo = new CounselorPaymentInfo();

            paymentInfo.NumberOfRounds = numberOfRounds;
            paymentInfo.Counselor = counselor;
            //  paymentInfo.PayForActivity = Calculator.CalculateCounselorCost(counselor.PermanentInfo.IsPermanent, activityType, numberOfRounds);

            return paymentInfo;

        }