Beispiel #1
0
        public async Task OnGet()
        {
            _logger.LogInformation($"College Student Cook positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //Shoreside
            //General Services GS-02
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(4, "FOS", "02"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Seagoing
            //Ship's Crew STD-01
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(9, "STD", "01"))
            {
                if (!position.Equals(null))
                {
                    SeagoingPositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    SeagoingPositions.Add(position);
                }
            }
            //Ship's Crew STD-03
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(9, "STD", "03"))
            {
                if (!position.Equals(null))
                {
                    SeagoingPositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    SeagoingPositions.Add(position);
                }
            }
        }
Beispiel #2
0
        public async Task OnGet()
        {
            _logger.LogInformation($"College Student Electrical positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //Shoreside
            //All Engineering and Scientific Support EG
            foreach (var position in await _jobgroupService.GetJobPositionsByGroupId(6))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Labor and Trades EIM-10
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "EIM", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Seagoing
            //Ship's Officer MAO-05 (electrical)
            SeagoingPositionIds = "&PositionId=123";
            SeagoingPositions   = await _jobpositionService.GetJobPositionByIdValues(SeagoingPositionIds);
        }
Beispiel #3
0
        public async Task OnGet()
        {
            _logger.LogInformation($"High School Student Administrative positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //Shoreside
            //Clerical and Regulatory CR-03
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(2, "CR", "03"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Clerical and Regulatory CR-04
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(2, "CR", "04"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Purchasing and Supply PG-01
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(7, "01"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Office Equipement OE-01
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(19, "DEO", "01"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
        }
Beispiel #4
0
        public async Task OnGet()
        {
            _logger.LogInformation($"High School Student Seagoing Deck/Navigation positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //Seagoing
            //Ship's Crew DED-02 (deck)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(9, "DED", "02"))
            {
                if (!position.Equals(null))
                {
                    SeagoingPositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    SeagoingPositions.Add(position);
                }
            }
        }
Beispiel #5
0
        public async Task OnGet()
        {
            _logger.LogInformation($"University Student Sciences positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //Shoreside
            //Nursing NU (CHN-03)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(18, "CHN", "03"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }


            //Seagoing
            //Ship's Officer MAO-02 to MAO-03 (deck)
            SeagoingPositionIds = "&PositionId=108&PositionId=110&PositionId=111&PositionId=112&PositionId=113&PositionId=116";
            SeagoingPositions   = await _jobpositionService.GetJobPositionByIdValues(SeagoingPositionIds);
        }
Beispiel #6
0
        public async Task OnGet()
        {
            _logger.LogInformation($"College Student Trades positions list page visited at {DateTime.UtcNow.ToLongTimeString()}");


            //General Labour and Trades (GL-COI)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "COI", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "COI", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "COI", "11"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Labour and Trades (GL-EIM)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "EIM", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "EIM", "11"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Labour and Trades (GL-MAM)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAM", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAM", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAM", "11"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Labour and Trades (GL-MAN)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "05"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "06"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "07"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "08"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-MDO)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "03"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "04"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "05"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "06"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "07"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-MOC)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MOC", "05"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MOC", "07"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-PCF)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PCF", "06"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PCF", "07"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PCF", "08"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-PRW)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PRW", "08"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PRW", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PRW", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PRW", "11"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-VHE)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "VHE", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-WOW)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "WOW", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "WOW", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
        }
Beispiel #7
0
        public async Task OnGetAsync(int id, string level, string subgroupcode, int positionid)
        {
            _logger.LogInformation($"Current position selection page visited at {DateTime.UtcNow.ToLongTimeString()}");
            JobGroup = await _jobcategoryService.GetJobGroupById(id);

            JobGroupLevels = await _jobcategoryService.GetSubGroupLevelsByGroupId(id);

            JobGroupPositions = string.IsNullOrEmpty(subgroupcode) ? await _jobcategoryService.GetJobGroupPositionsByLevel(id, level) : await _jobcategoryService.GetJobGroupPositionsBySubGroupLevel(id, subgroupcode, level);

            Position = positionid == 0 ? null : await _jobcategoryService.GetJobPositionById(positionid);
        }
Beispiel #8
0
        public async Task OnGetAsync(int idobj, string levelobj, string subgroupcodeobj, int objectiveid)
        {
            _logger.LogInformation($"Objective positions page visited at {DateTime.UtcNow.ToLongTimeString()}");
            JobGroup = await _jobcategoryService.GetJobGroupById(idobj);

            JobGroupLevels = await _jobcategoryService.GetSubGroupLevelsByGroupId(idobj);

            JobGroupPositions = string.IsNullOrEmpty(subgroupcodeobj) ? await _jobcategoryService.GetJobGroupPositionsByLevel(idobj, levelobj) : await _jobcategoryService.GetJobGroupPositionsBySubGroupLevel(idobj, subgroupcodeobj, levelobj);

            ObjectivePosition = objectiveid == 0 ? null : await _jobcategoryService.GetJobPositionById(objectiveid);
        }
Beispiel #9
0
        public async Task OnGet(string positionids)
        {
            _logger.LogInformation($"High School Student Trades positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //Shoreside
            //General Labour and Trades (GL-COI)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "COI", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "COI", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "COI", "11"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Labour and Trades (GL-EIM)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "EIM", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "EIM", "11"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Labour and Trades (GL-MAM)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAM", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAM", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAM", "11"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Labour and Trades (GL-MAN)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "05"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "06"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "07"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "08"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MAN", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-MDO)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "03"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "04"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "05"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "06"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MDO", "07"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-MOC)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MOC", "05"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "MOC", "07"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-PCF)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PCF", "06"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PCF", "07"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PCF", "08"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-PRW)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PRW", "08"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PRW", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PRW", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "PRW", "11"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-VHE)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "VHE", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            //General Labour and Trades (GL-WOW)
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "WOW", "09"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(8, "WOW", "10"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Services FOS-02
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(4, "FOS", "02"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //General Technician GT-01 to GT-03
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(1, "01"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(1, "02"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(1, "03"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Lightkeepers LI-03
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(5, "03"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Purchasing and Supply PG-01
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(7, "01"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Seagoing
            //Ship's Crew DED-02
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(9, "DED", "02"))
            {
                if (!position.Equals(null))
                {
                    SeagoingPositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    SeagoingPositions.Add(position);
                }
            }
            //Ship's Crew ERD-03
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(9, "ERD", "03"))
            {
                if (!position.Equals(null))
                {
                    SeagoingPositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    SeagoingPositions.Add(position);
                }
            }
            //Ship's Crew STD-01
            foreach (var position in await _jobgroupService.GetJobGroupPositionsBySubGroupLevel(9, "STD", "01"))
            {
                if (!position.Equals(null))
                {
                    SeagoingPositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    SeagoingPositions.Add(position);
                }
            }
        }