public List <RentInfos> ListALl(int id)
        {
            try
            {
                bool isSuccess;

                RentInfoRepository repo = new RentInfoRepository();
                return(repo.ListAll());
            }
            catch (Exception ex)
            {
                LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
                throw new Exception("BusinessLogic::RentInfoBusiness::ListAll::Error occured.", ex);
            }
        }
        public RentInfos InfoForCustomer(int id)
        {
            try
            {
                bool isSuccess;

                RentInfoRepository repo = new RentInfoRepository();
                return(repo.GetRezInfoByCustomerIdentificatonNumber(id));
            }
            catch (Exception ex)
            {
                LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
                throw new Exception("BusinessLogic::RentInfoBusiness::InfoForCustomer::Error occured.", ex);
            }
        }
        public bool Confirm(int id)
        {
            try
            {
                bool isSuccess;

                RentInfoRepository repo = new RentInfoRepository();
                int result = repo.Confirm(id);

                _ = result == 1 ? isSuccess = true : isSuccess = false;

                return(isSuccess);
            }
            catch (Exception ex)
            {
                LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
                throw new Exception("BusinessLogic::RentInfoBusiness::Confirm::Error occured.", ex);
            }
        }