I have some methods defined in a controller which most of them returns JsonResult
, and some returns PartialViews.
So I have two questions,
1) Is it a good practice to access those methods that return JsonResult from other controllers?
2) Is it a good practice to access those methods that return ActionResult from other controllers ?
Thanks :)
new myClass().myMethod();
. Is this bad ? – Shanid Jun 01 '16 at 08:54