public ActionResult PostOrderDetail(DrugOrderModel model)
 {
     using (ProjectEntities db = new ProjectEntities())
     {
         if (model.SupplierId != 0)
         {
             // insert
             db.InsertDrugDelivery(model.OrderId, model.SupplierId, null);
             return(Json("assigned"));
         }
         else
         {
             return(Json("Choose Supplier"));
         }
     }
 }