Hi I am new to asp.net MVC and have to decide how I can implement the following. Can anybody please point me in the right direction
I have a controller which serves a view to create customers which all works fine
I have another controller which serves a vew to create invoices. But to create invoice I will need to search for customers which is all working fine. If I cant find a customer I will need to serve the create customer view, create the customer and then return to my invoice creation.
So my question is how from my Invoice controller i can get the customer controller to create a customer, get that customer details back and plug the details into my invoice view.
These controllers/views live in different areas