public void initBranches()
        {
            var b1 = new BranchOfficeVM();

            b1.BranchOfficeID = Guid.NewGuid().ToString();
            b1.Name           = "New York";
            Branches.Add(b1);
            var b2 = new BranchOfficeVM();

            b2.BranchOfficeID = Guid.NewGuid().ToString();
            b2.Name           = "London";
            Branches.Add(b2);
        }
        public void initEquipment()
        {
            var utilBranch = new BranchOfficeVM();
            var r1         = new EquipmentVM();

            r1.id       = Guid.NewGuid().ToString();
            r1.title    = "Projector 1";
            r1.branchId = utilBranch.GetBranchByName(Branches, "New York").BranchOfficeID;
            Equipment.Add(r1);
            var r2 = new EquipmentVM();

            r2.id       = Guid.NewGuid().ToString();
            r2.title    = "Hololens demo kit";
            r2.branchId = utilBranch.GetBranchByName(Branches, "London").BranchOfficeID;
            Equipment.Add(r2);
            var r3 = new EquipmentVM();

            r3.id       = Guid.NewGuid().ToString();
            r3.title    = "iPad test device 1";
            r3.branchId = utilBranch.GetBranchByName(Branches, "New York").BranchOfficeID;
            Equipment.Add(r3);
        }
        public void initEvents()
        {
            var utilBranch   = new BranchOfficeVM();
            var EmployeeUtil = new EmployeeVM();
            var s1           = new ScheduleEventVM();

            s1.BranchOfficeID = utilBranch.GetBranchByName(Branches, "New York").BranchOfficeID;
            var c1 = utils.GetClientByName(Clients, "Big Company A");

            s1.clientId      = c1.ClientID;
            s1.clientName    = c1.Name;
            s1.clientAddress = c1.Address;
            s1.title         = "Event 2 - Big Company A";
            s1.statusString  = Constants.statusBooked;
            var v1 = EmployeeUtil.EmployeeByName(Employees, "Paul");

            s1.EmployeeId           = v1.EmployeeID;
            s1.EmployeeName         = v1.FullName;
            s1.DateTimeScheduled    = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 11, 15, 0);
            s1.durationMinutes      = 120;
            s1.duration             = s1.durationMinutes.ToString();
            s1.DateTimeScheduledEnd = s1.DateTimeScheduled.AddMinutes(s1.durationMinutes);
            ScheduleEvents.Add(s1);

            var s2 = new ScheduleEventVM();

            s2.BranchOfficeID = utilBranch.GetBranchByName(Branches, "New York").BranchOfficeID;
            var c2 = utils.GetClientByName(Clients, "Small Company X");

            s2.clientId      = c2.ClientID;
            s2.clientName    = c2.Name;
            s2.clientAddress = c2.Address;
            s2.title         = "Event 3 - Small Company X";
            s2.statusString  = Constants.statusCancelled;
            var v2 = EmployeeUtil.EmployeeByName(Employees, "Max");

            s2.EmployeeId           = v2.EmployeeID;
            s2.EmployeeName         = v2.FullName;
            s2.DateTimeScheduled    = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 10, 0, 0);
            s2.durationMinutes      = 30;
            s2.duration             = s2.durationMinutes.ToString();
            s2.DateTimeScheduledEnd = s2.DateTimeScheduled.AddMinutes(s2.durationMinutes);
            var e2 = utils.GetEquipmentByName(Equipment, "Projector 1");

            s2.equipmentID = e2.id;
            ScheduleEvents.Add(s2);

            var s3 = new ScheduleEventVM();

            s3.BranchOfficeID = utilBranch.GetBranchByName(Branches, "London").BranchOfficeID;
            var c3 = utils.GetClientByName(Clients, "Big Company C");

            s3.clientId      = c3.ClientID;
            s3.clientName    = c3.Name;
            s3.clientAddress = c3.Address;
            s3.title         = "Event 1 - Big Company C";
            s3.statusString  = Constants.statusComplete;
            var v3 = EmployeeUtil.EmployeeByName(Employees, "Joanne");

            s3.EmployeeId           = v3.EmployeeID;
            s3.EmployeeName         = v3.FullName;
            s3.DateTimeScheduled    = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 09, 30, 0);
            s3.durationMinutes      = 60;
            s3.duration             = s3.durationMinutes.ToString();
            s3.DateTimeScheduledEnd = s3.DateTimeScheduled.AddMinutes(s3.durationMinutes);
            var e3 = utils.GetEquipmentByName(Equipment, "iPad test device 1");

            s3.equipmentID = e3.id;
            ScheduleEvents.Add(s3);
        }