예제 #1
0
        private void InitialisePage(PortFreightUser user)
        {
            Input.SenderType = _context.SenderType
                               .Where(x => x.SenderId == user.SenderId)
                               .FirstOrDefault().IsPort;

            UkPorts      = _helperService.GetRespondentPorts();
            RespondentVM = new RespondentViewModel();
            var existingPort = FindSavedPort(user);

            if (existingPort != null)
            {
                AssignDataToInput(existingPort);
            }
        }