public JsonResult GetBoardPrice(string boardSize, string propertyState, string fromDate, string toDate)
        {
            PurpleBoardLeaseModel model = new PurpleBoardLeaseModel();

            model.BoardSize      = boardSize;
            model.Property.State = propertyState;
            model.FromDate       = DateTime.ParseExact(fromDate, "dd/MM/yyyy", CultureInfo.InvariantCulture);
            model.ToDate         = DateTime.ParseExact(toDate, "dd/MM/yyyy", CultureInfo.InvariantCulture);

            model.CalculateBoardCost();

            return(Json("{\"Cost\": " + Math.Round(model.Cost, 2, MidpointRounding.AwayFromZero) + ",\"PricePerDay\": " + Utils.FormatMoney(model.PricePerDay)
                        + ",\"DaysOrder\": " + model.DaysOrder + ",\"Discount\": " + Utils.FormatMoney(model.Discount) + "}"
                        , "application/json", JsonRequestBehavior.AllowGet));
        }
        public ActionResult BoardPriceEstimator()
        {
            PurpleBoardLeaseModel model = new PurpleBoardLeaseModel();

            return(View(model));
        }