public ActionResult AjaxView() { var model = _api.GetOrderItem(ArrId.FirstOrDefault()); ViewBag.Agency = _agencyApi.GetItemById(UserItem.AgencyID); return(View(model)); }
public ActionResult AjaxView(int id) { var model = _api.GetOrderItem(id); return(PartialView(model)); }
public ActionResult AjaxView() { var model = _api.GetOrderItem(ArrId.FirstOrDefault()); return(View(model)); }