public ActionResult Index(ForecastFailoverModel model)
        {
            ForecastFailoverBusinessManger ffManager = new ForecastFailoverBusinessManger();

            //model.ForecastFailoverResult = "This is the forecast failover result";
            model.ForecastFailoverResult = ffManager.GetForecastResults(model.BranchItemDataList);

            return(View("Index", model));
        }
        //
        // GET: /ForecastFailover/

        public ActionResult Index()
        {
            ForecastFailoverModel ffModel            = new ForecastFailoverModel();
            List <BranchItemData> branchItemDataList = new List <BranchItemData>();

            foreach (var branch in db.Branches.ToList())
            {
                BranchItemData branchItemData = new BranchItemData();
                branchItemData.Branch = branch;
                branchItemDataList.Add(branchItemData);
            }

            ffModel.BranchItemDataList = branchItemDataList;
            return(View(ffModel));
        }