public ActionResult PrevPage(int DocId, int ProductTypeId)//CurrentHeaderId { var PrevId = _Dimension1Service.PrevId(DocId, ProductTypeId); return(Edit(PrevId, "")); }
public ActionResult PrevPage(int id, int ptypeid)//CurrentHeaderId { var nextId = _Dimension1Service.PrevId(id, ptypeid); return(RedirectToAction("Edit", new { id = nextId })); }