public IHttpActionResult Put([FromUri] int sid, [FromBody] SellPosting sellPosting)
        {
            try
            {
                SellPostingRepo repo = new SellPostingRepo();

                sellPosting.SellId = sid;

                repo.Update(sellPosting);
                return(Ok(sellPosting));
            }
            catch (Exception)
            {
                return(StatusCode(HttpStatusCode.BadRequest));
            }
        }
        public IHttpActionResult GetSells()
        {
            ISellPostingRepo sellpost = new SellPostingRepo();

            return(Ok(sellpost.PendingList().ToList()));
        }