I m using the excellent Magellan navigation framework from Paul Stovell.
When you have this method in the controller
Public Function Save(ByVal Contact As Contact) As ActionResult
Try
Contact.Save()
Return Index() //Call other action result that brings the list of contacts
Catch ex As Exception
Return New CancelResult
End Try
End Function
- Is there a way that
Index
does not create another view, but navigate to the existing one (if exists)? - Is there a way to destroy a View (in this case, the contact view, which is not longer valid because the record is already saved in the DB)