public IHttpActionResult PostSellerProduct(SellerProduct sellerProduct)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            db.SellerProducts.Add(sellerProduct);

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateException)
            {
                if (SellerProductExists(sellerProduct.Id))
                {
                    return Conflict();
                }
                else
                {
                    throw;
                }
            }

            return CreatedAtRoute("DefaultApi", new { id = sellerProduct.Id }, sellerProduct);
        }
        public IHttpActionResult PutSellerProduct(int id, SellerProduct sellerProduct)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            if (id != sellerProduct.Id)
            {
                return BadRequest();
            }

            db.Entry(sellerProduct).State = EntityState.Modified;

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!SellerProductExists(id))
                {
                    return NotFound();
                }
                else
                {
                    throw;
                }
            }

            return StatusCode(HttpStatusCode.NoContent);
        }