public async Task <IHttpActionResult> GetAuctioneer(string id)
        {
            Auctioneer objct = await db.Auctioneers.FindAsync(id);

            if (objct == null)
            {
                return(NotFound());
            }

            AuctioneerNoR newObject = new AuctioneerNoR()
            {
                Branch = objct.Branch,
                CompanyContactNumber = objct.CompanyContactNumber,
                CompanyDescriprion   = objct.CompanyDescriprion,
                CompanyEmail         = objct.CompanyEmail,
                CompanyName          = objct.CompanyName,
                CompanyLogo          = objct.CompanyLogo,
                Signature            = objct.Signature,
                UserID = objct.UserID
                         //Seller = objct.Seller
                         // AuctionRegistration = fee.AuctionRegistration
            };

            return(Ok(newObject));
        }
        // GET: api/Auctioneers
        public ICollection <AuctioneerNoR> GetAuctioneers()
        {
            List <AuctioneerNoR> Lys = new List <AuctioneerNoR>();

            foreach (Auctioneer objct in db.Auctioneers.Include(a => a.Seller))
            {
                AuctioneerNoR newObject = new AuctioneerNoR()
                {
                    Branch = objct.Branch,
                    CompanyContactNumber = objct.CompanyContactNumber,
                    CompanyDescriprion   = objct.CompanyDescriprion,
                    CompanyEmail         = objct.CompanyEmail,
                    CompanyName          = objct.CompanyName,
                    CompanyLogo          = objct.CompanyLogo,
                    Signature            = objct.Signature,
                    UserID = objct.UserID
                             //Seller = objct.Seller
                             // AuctionRegistration = fee.AuctionRegistration
                };


                Lys.Add(newObject);
            }

            return(Lys);
        }