示例#1
0
 public static string BenefitDate(RoiViewModel roi)
 {
     return(BenefitDate(roi.Cost, roi.Benefit, roi.Date));
 }
示例#2
0
 public static string CalcROI(RoiViewModel roi)
 {
     return(CalcROI(roi.Cost, roi.Benefit));
 }
示例#3
0
 public ActionResult Roi(RoiViewModel roi)
 {
     roi.EndDate    = Calculators.BenefitDate(roi);
     roi.Percentage = Calculators.CalcROI(roi);
     return(View("Index", roi));
 }