//// new
        public ActionResult ManageGroupID()
        {
            CustomerModel cm = new CustomerModel();

            cm.WorkFlows = WorkFlowHelper.Instance.GetAllWorkFlows();

            return View("ManageGroupID", cm);
        }
        public ActionResult AddCustomer()
        {
            CustomerModel cm = new CustomerModel();

            cm.Lenders = LenderHelper.Instance.GetAllLenders();

            cm.CustomerGroups = CustomerHelper.Instance.GetAllCustomerGroups();

            return View("AddCustomer",cm);
        }
        public ActionResult ManageCustomer()
        {
            CustomerModel cm = new CustomerModel();

            cm.FirstName = "Enter First Name";
            cm.LastName = "Enter Last Name";
            cm.SSN = "000000000";

            cm.Customers = RefreshCustomerList();

            return View(cm);
        }
        public ActionResult SaveGroupID(CustomerModel cm)
        {
            CustomerGroup cgroup = CustomerHelper.Instance.CreateCustomerGroup(cm.GroupName);

            WorkFlow wflow = WorkFlowHelper.Instance.GetWorkFlow(cm.WorkFlow.Id);

            cgroup.WorkFlow = wflow;
            //cm.WorkFlows = WorkFlowHelper.Instance.GetAllWorkFlows();

            CustomerHelper.Instance.SaveCustomerGroup(cgroup);

            cm.WorkFlows = WorkFlowHelper.Instance.GetAllWorkFlows();

            return View("ManageGroupID", cm);
        }
        public ActionResult SaveCustomer(CustomerModel cm)
        {
            Customer cust = CustomerHelper.Instance.CreateCustomer(cm.FirstName, cm.LastName, cm.SSN);

            Address addr = AddressHelper.Instance.CreateAddress(cm.Street, cm.City, cm.State, cm.ZipCode);

            CustomerGroup custgroup = CustomerHelper.Instance.GetCustomerGroupById(cm.CustomerGroup.Id);

            cust.CustomerGroup = custgroup;

            Lender lndr = LenderHelper.Instance.GetLender(cm.Lender.Id);

            cust.Lender = lndr;

            cust.Address = addr;
            CustomerHelper.Instance.SaveCustomer(cust);

            cm.Lenders = LenderHelper.Instance.GetAllLenders();

            cm.CustomerGroups = CustomerHelper.Instance.GetAllCustomerGroups();
            return View("AddCustomer", cm);
        }
        public ActionResult Save(CustomerModel cm)
        {
            Customer customer = CustomerHelper.Instance.CreateCustomer(cm.FirstName, cm.LastName, cm.SSN);

            CustomerHelper.Instance.SaveCustomer(customer);

            CustomerGroup custgroup = CustomerHelper.Instance.GetCustomerGroupById(cm.CustomerGroup.Id);

            Address addr = AddressHelper.Instance.CreateAddress(cm.Street, cm.City, cm.State, cm.ZipCode);

            customer.Address = addr;

            Lender lender = LenderHelper.Instance.CreateLender(cm.Lender.Name);

            CustomerHelper.Instance.SaveCustomer(customer);

            cm.Customers = RefreshCustomerList();

            return View("AddCustomer",cm);
        }