Closed biproberkay closed 2 years ago
BaseController class
method actions endpoint
:question: why Controller methods called as conroller actions?
All the public methods of the Controller class are called Action methods.
Controller Classının metodları ve metodların geri dönüş tipleri araştırması
📌 The IActionResult return type is appropriate when multiple ActionResult return types are possible in an action.1
📌
return BadRequest();
is a shorthand form ofreturn new BadRequestResult();
getall getbyid ... bir kere endpointlerin hepsine bir ad vermem gerekmiyor.
bana neler genel olarak lazım olabilir?