public Result <FixedDeposit> Get(int id)
        {
            var result = new Result <FixedDeposit>();
            FixedDepositService FixedDepositService = new FixedDepositService();

            result.Value     = FixedDepositService.Get(id);
            result.IsSuccess = true;
            return(result);
        }
        public Result <IList <FixedDeposit> > GetAll(int plannerId)
        {
            var result = new Result <IList <FixedDeposit> >();
            FixedDepositService FixedDepositService = new FixedDepositService();

            result.Value     = FixedDepositService.GetAll(plannerId);
            result.IsSuccess = true;
            return(result);
        }
        public Result Delete(FixedDeposit FixedDeposit)
        {
            var result = new Result();

            try
            {
                FixedDepositService FixedDepositService = new FixedDepositService();
                FixedDepositService.Delete(FixedDeposit);
                result.IsSuccess = true;
            }
            catch (Exception exception)
            {
                result.IsSuccess     = false;
                result.ExceptionInfo = exception;
            }
            return(result);
        }