Exemplo n.º 1
0
        public IHttpActionResult GetDeliveryType(string id)
        {
            DeliveryType deliveryType = _SVC.GetDeliveryType(id);

            if (deliveryType == null)
            {
                return(NotFound());
            }

            return(Ok(deliveryType));
        }
Exemplo n.º 2
0
 public ActionResult Edit(string xID)
 {
     return(PartialView(_Server.GetDeliveryType(xID)));
 }