Beispiel #1
0
        public async Task <IHttpActionResult> GetSupplier(string id)
        {
            Supplier supplier = _SVC.GetSupplier(id);

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

            return(Ok(supplier));
        }
 public ActionResult Edit(string xID)
 {
     return(PartialView(_Server.GetSupplier(xID)));
 }