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

            var currentvalue = depnRateObj.GetCurrentAssetValueTillCurrentDate(purchaseId);

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