Thanks for your suggestion.
This is service or factory override.
But I need a solution for IActionResult override.
suppose I in the order Edit ActionResult I need to change and result a view that is in my plugin
Because I need to change in edit order view pages.
in this case I need to override below method
public virtual IActionResult Edit(int id)
return View("~/Plugin/Views/Order/Edit.cshtml", Model);
is there any way to override this or not?
You cannot directly do that using route override, use action filter instead.
Please follow the below link for your answer.