Return a PartialView in ASP.NET MVC [duplicate]

1

When returning a PartialView my action can both have an ActionResult as a PartialViewResult / p>

public PartialViewResult Franquias()
{
    return PartialView("_Franquias");
}

Or

public ActionResult Franquias()
{
    return PartialView("_Franquias");
}

The following question Difference between ViewResult and ActionResult already speaks about the subject, however my doubts are: / p>

What would be the difference between the two options? (this has already been answered link )

But I still have the following question: On the return of my Action , when it makes a return PartialView , which would be more appropriate to use, ActionResult or the PartialViewResult ?

    
asked by anonymous 06.12.2017 / 16:55

0 answers