If I create a method of type ActionResult
with any name and give a return to a View
I want to return something, will it work normally or need to have the same name of View
?
public ActionResult RetornarIRPJ(string Tipo)
{
BoletoRepositorio br = new BoletoRepositorio();
BoletoModel bm = new BoletoModel();
bm.IRPJ = br.IRPJ(Tipo).ToString();
return View("Detalhes");
}