public FlooringCalculatorResponse CalculateFloor(FlooringCalculatorRequest request)
        {
            FlooringCalculatorResponse response = new FlooringCalculatorResponse();
            response.Area = request.Length*request.Width;
            response.TotalCost = request.Cost*response.Area;

            return response;
        }
        public ActionResult FlooringCalculatorForm(FlooringCalculatorValidation request)
        {
            if (ModelState.IsValid)
            {
                var calc = new FlooringCalculatorWork();

                var floorData = new FlooringCalculatorRequest();

                floorData.Cost = request.Cost.Value;
                floorData.Length = request.Length.Value;
                floorData.Width = request.Width.Value;

                var result = calc.CalculateFloor(floorData);

                return View("FloorCalculatorResult", result);

            }
            return View(request);
        }