Esempio n. 1
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);
        }
Esempio n. 2
0
        public async Task OnGet()
        {
            _logger.LogInformation($"College Student Nautical Deck positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //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);
        }
Esempio n. 3
0
        public async Task OnGet()
        {
            _logger.LogInformation($"University Student Ships' Crew positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //Seagoing
            //Ship's Crew DED & MAO levels 2-3 (deck)
            SeagoingPositionIds = "&PositionId=98&PositionId=99&PositionId=100&PositionId=109&PositionId=112&PositionId=113";
            SeagoingPositions   = await _jobpositionService.GetJobPositionByIdValues(SeagoingPositionIds);
        }
Esempio n. 4
0
 public async Task OnGet()
 {
     PositionIds = "PositionId=285&PositionId=297&PositionId=302&PositionId=110&PositionId=112&PositionId=113&PositionId=116&PositionId=117&PositionId=118&PositionId=120&PositionId=127&PositionId=128&PositionId=130" +
                   "&PositionId=131&PositionId=133" +
                   "&PositionId=139&PositionId=140&PositionId=142&PositionId=144" +
                   "&PositionId=146&PositionId=148";
     _logger.LogInformation($"Seagoing Officer Navigation Similar positions list page visited at {DateTime.UtcNow.ToLongTimeString()}");
     Positions = await _jobpositionService.GetJobPositionByIdValues(PositionIds);
 }
Esempio n. 5
0
        public async Task OnGet()
        {
            _logger.LogInformation($"University Student Engineering positions page visited at {DateTime.UtcNow.ToLongTimeString()}");

            //Shoreside
            //Architecture, Engineering ENG-02
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(11, "02"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Engineering and Scientific Support EG-02 to EG-05
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(6, "02"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(6, "03"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(6, "04"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }
            foreach (var position in await _jobgroupService.GetJobGroupPositionsByLevel(6, "05"))
            {
                if (!position.Equals(null))
                {
                    ShoresidePositionIds += String.Format($"&PositionId={position.JobTitleId}");
                    ShoreSidePositions.Add(position);
                }
            }

            //Seagoing
            //Ship's Officer MAO-02 to MAO-03 (engineering)
            SeagoingPositionIds = "&PositionId=109&PositionId=114&PositionId=115";
            SeagoingPositions   = await _jobpositionService.GetJobPositionByIdValues(SeagoingPositionIds);
        }
Esempio n. 6
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);
        }
Esempio n. 7
0
 public async Task OnGet()
 {
     PositionIds = "PositionId=109&PositionId=114&PositionId=115&PositionId=119&PositionId=124&PositionId=125&PositionId=126&PositionId=132&PositionId=134&PositionId=136&PositionId=137&PositionId=138&PositionId=141&PositionId=143&PositionId=145&PositionId=147";
     _logger.LogInformation($"Seagoing Officer Engineering Similar positions list page visited at {DateTime.UtcNow.ToLongTimeString()}");
     Positions = await _jobpositionService.GetJobPositionByIdValues(PositionIds);
 }
Esempio n. 8
0
 public async Task OnGet()
 {
     PositionIds = "PositionId=105&PositionId=106&PositionId=107";
     _logger.LogInformation($"Seagoing Crew Engineering similar positions list page visited at {DateTime.UtcNow.ToLongTimeString()}");
     Positions = await _jobpositionService.GetJobPositionByIdValues(PositionIds);
 }
Esempio n. 9
0
 public async Task OnGet()
 {
     PositionIds = "PositionId=98&PositionId=99&PositionId=100&PositionId=101&PositionId=102&PositionId=103&PositionId=104&PositionId=90&PositionId=91&PositionId=92";
     _logger.LogInformation($"Seagoing Crew Deck similar positions list page visited at {DateTime.UtcNow.ToLongTimeString()}");
     Positions = await _jobpositionService.GetJobPositionByIdValues(PositionIds);
 }