Example #1
0
        public LoginM()
        {
            BL = new BLImp();

            Volunteers = BL.GetAllVolunteers();
            Admins     = BL.GetAllAdmins();
        }
Example #2
0
        public PrintPdfM(int DistributionId)
        {
            BL = new BLImp();

            Distribution = BL.GetAllDistributions(d => d.DistributionId == DistributionId).First();
            Packages     = BL.GetAllPackages(p => p.DistributionId == DistributionId);
            Volunteer    = BL.GetAllVolunteers(v => v.VolunteerId == Distribution.VolunteerId).First();
        }
Example #3
0
        public VolunteersViewM()
        {
            BL = new BLImp();

            Volunteers = new List <Volunteer>(BL.GetAllVolunteers());
        }