public IHttpActionResult Post(Wishlist u)
        {
            int  uid = u.uid;
            int  pid = u.pid;
            bool x   = wrepo.check(uid, pid);

            if (x == true)
            {
                string url1 = Url.Link("GetWishById", new { id = u.wid });
                return(Created(url1, u));
            }
            else
            {
                wrepo.Insert(u);
                string url = Url.Link("GetWishById", new { id = u.wid });
                return(Created(url, u));
            }
        }