public static decimal GetCurrentValue(this long purchaseId) { var depnRateObj = new DepreciationService(); var currentvalue = depnRateObj.GetCurrentAssetValueTillCurrentDate(purchaseId); return(currentvalue); }
public DepreciationController() { _depreciationService = new DepreciationService(); }