public ActionResult Price(int weight, int height, int width, int length) { ParcelObject myParcel = new ParcelObject(weight, height, width, length); myParcel.GetVolume(); myParcel.VolumePrice(); myParcel.WeightPrice(); myParcel.TotalPrice(); return(View(myParcel)); }