コード例 #1
0
        public HttpResponseMessage Get()
        {
            List <PermitTypeDTO> permitTypelist = service.getAll();

            return(Request.CreateResponse(HttpStatusCode.OK, permitTypelist));
        }
コード例 #2
0
 public IViewComponentResult Invoke()
 {
     return(View(permitTypeService.getAll()));
 }