Пример #1
0
        public ExchangeReviewCompositeType getExchangeReviewByIdReviewExchange(int iIdReviewExchange)
        {
            var ea   = new ExchangeReview();
            var eact = ea.GetExchangeReviewByIdReviewExchange(iIdReviewExchange);

            return(eact);
        }
Пример #2
0
        public List <ExchangeReviewCompositeType> getExchangeReviewById(int iIdExchange)
        {
            var ea   = new ExchangeReview();
            var eact = ea.getAll(iIdExchange);

            return(eact);
        }
Пример #3
0
        public ExchangeReviewCompositeType getExchangeReviewById(int iIdExchange, int iIdUser)
        {
            var ea   = new ExchangeReview();
            var eact = ea.GetExchangeReviewById(iIdExchange, iIdUser);

            return(eact);
        }
Пример #4
0
        public errorCompositeType updateExchangeReview(ExchangeReviewCompositeType erct)
        {
            var lstError = new errorCompositeType();

            try
            {
                var et = new ExchangeReview();
                et.UpdateExchangeReview(erct);
                lstError.bError = true;
                lstError.sError = "";
                return(lstError);
            }
            catch (Exception ex)
            {
                lstError.bError = false;
                lstError.sError = ex.Message;
                return(lstError);
            }
        }
Пример #5
0
        public int getCountExchangeReviewById(int iIdExchange, int iIdUser)
        {
            var ea = new ExchangeReview();

            return(ea.GetExchangeReviewByIdCount(iIdExchange, iIdUser));
        }