public ActionResult Edit(int id)
        {
            EbayMessageController ebay = new EbayMessageController();
            EbayMessageType       obj  = ebay.GetById(id);

            ViewData["messageid"] = obj.MessageId;
            return(View(obj));
        }
 public ActionResult Edit(int id)
 {
     EbayMessageController ebay = new EbayMessageController();
     EbayMessageType obj = ebay.GetById(id);
     ViewData["messageid"] = obj.MessageId;
     return View(obj);
 }