Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult Get(long id) { var model = cinemaService.GetById(id); var obj = mapper.Map <CinemaResource>(model); if (obj == null) { return(NotFound()); } return(new ObjectResult(obj)); }