コード例 #1
0
        // [Route("Movies/Details/{id}")]
        public IActionResult Details(int id)
        {
            var movie = _movieRespository.GetById(id);

            return(View(movie));
        }
コード例 #2
0
 public Customer findByCustomerId(string id)
 {
     return(repository.GetById(id));
 }