// GET: MortgageRequest
        public ActionResult Index()
        {
            if (PreQualUsers.QuotingUsers == null)
            {
                Task.Run(() => PreQualUsers.UpdatePreQualUsers().ConfigureAwait(false));
            }
            IndexModel model = new IndexModel();

            return(View(model));
        }
        protected async Task <List <QuotingUser> > GetQuotingUsers(int userId, MortgageRequest request)
        {
            if (PreQualUsers.QuotingUsers == null)
            {
                await PreQualUsers.UpdatePreQualUsers();
            }
            if (PreQualUsers.QuotingUsers == null || PreQualUsers.QuotingUsers.Count == 0)
            {
                return(null);
            }

            //make a copy of the (in case it is updated via UpdatePreQualUsers() at the same time it is being used here...) and filter by userId
            return(Quoting.Mortgage.Bankrate.PreQualUsers.Get(request, PreQualUsers.QuotingUsers.ToList(), userId));
        }