public Operation DeleteAnFDepreciationRate(AnFDepreciationRate objAnFDepreciationRate)
        {
            Operation objOperation = new Operation { Success = true, OperationId = objAnFDepreciationRate.Id };
            _AnFDepreciationRateRepository.Delete(objAnFDepreciationRate);

            try
            {
                _UnitOfWork.Commit();
            }
            catch (Exception)
            {

                objOperation.Success = false;
            }
            return objOperation;
        }
        public Operation SaveAnFDepreciationRate(AnFDepreciationRate objAnFDepreciationRate)
        {
            Operation objOperation = new Operation { Success = true };

            long Id = _AnFDepreciationRateRepository.AddEntity(objAnFDepreciationRate);
            objOperation.OperationId = Id;

            try
            {
                _UnitOfWork.Commit();
            }
            catch (Exception ex)
            {
                objOperation.Success = false;
            }
            return objOperation;
        }