示例#1
0
        public static decimal GetCurrentValue(this long purchaseId)
        {
            var depnRateObj = new DepreciationService();

            var currentvalue = depnRateObj.GetCurrentAssetValueTillCurrentDate(purchaseId);

            return(currentvalue);
        }
示例#2
0
 public DepreciationController()
 {
     _depreciationService = new DepreciationService();
 }