public static string BenefitDate(RoiViewModel roi) { return(BenefitDate(roi.Cost, roi.Benefit, roi.Date)); }
public static string CalcROI(RoiViewModel roi) { return(CalcROI(roi.Cost, roi.Benefit)); }
public ActionResult Roi(RoiViewModel roi) { roi.EndDate = Calculators.BenefitDate(roi); roi.Percentage = Calculators.CalcROI(roi); return(View("Index", roi)); }