Ejemplo n.º 1
0
        public bool NotifySellerDemand(int IdSubasta, UserAutentication objuser)
        {
            Auction Auctionobj = new Auction();

            Auctionobj.Id   = IdSubasta;
            Auctionobj.User = objuser;
            List <Seller> sellersInfo = SellerB.SellersInfo(Auctionobj);

            Clients.All.onNotifySellerDemand(sellersInfo);
            return(true);
        }
Ejemplo n.º 2
0
        public bool NotifyAprobateAuctionIngress(int IdSubasta, UserAutentication objuser)
        {
            Auction Auctionobj = new Auction();

            Auctionobj.Id   = IdSubasta;
            Auctionobj.User = objuser;
            // GasUserHub user = _connectedUsers.Where(x => x.UserName == UserName ).FirstOrDefault();
            List <Purchaser> PurchaserInfo = PurchaserB.PurchasersInfo(Auctionobj);
            List <Seller>    SellerrInfo   = SellerB.SellersInfo(Auctionobj);

            Clients.Group(GasProfile.Subastador.ToString()).onNotifyAprobateAuctionIngressSeller(SellerrInfo);
            Clients.Group(GasProfile.Comprador.ToString()).onNotifyAprobateAuctionIngressPurchaser(PurchaserInfo);
            Clients.Group(GasProfile.Vendedor.ToString()).onNotifyAprobateAuctionIngressSeller(SellerrInfo);

            //  Clients.User(user.SessionId).afs();
            //      Clients.All.onNotifyIncriptionUpdate(AuctionInfo);
            return(true);
        }
Ejemplo n.º 3
0
 public List <AuctionDesc.Infrastructure.Models.Seller> SellersInfo(AuctionDesc.Infrastructure.Models.Auction obj)
 {
     return(SellerB.SellersInfo(obj));
 }
Ejemplo n.º 4
0
 public bool SellersSaveState(List <AuctionDesc.Infrastructure.Models.Seller> sellerObj)
 {
     return(SellerB.SellersSaveState(sellerObj));
 }
Ejemplo n.º 5
0
 public AuctionDesc.Infrastructure.Models.Seller SellerSave(AuctionDesc.Infrastructure.Models.Seller sellerObj)
 {
     return(SellerB.SellerSave(sellerObj));
 }
Ejemplo n.º 6
0
 public AuctionDesc.Infrastructure.Models.Seller SellersInfoById(AuctionDesc.Infrastructure.Models.Seller obj)
 {
     return(SellerB.SellersInfoById(obj));
 }