Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Create Customize NotFound Method

$
0
0

Hi 
i want create methods for my customize example : 


return NotFound();


i write this method but i cant call it in other controller just i cant use in own  controller 

 public IActionResult NotFound1()
        {
            return View("NotFound");
        }




how to create public method (exmaple : return Notfound()) ?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>