C# 클래스 Courses.Gui.Client.Controllers.CategoryController

상속: ApiController
파일 보기 프로젝트 열기: denismaster/dotnet01

공개 메소드들

메소드 설명
CategoryController ( ICategoryService _categoryService ) : System
GetCategory ( int id ) : JsonResult
GetCategorys ( ) : JsonResult>

메소드 상세

CategoryController() 공개 메소드

public CategoryController ( ICategoryService _categoryService ) : System
_categoryService ICategoryService
리턴 System

GetCategory() 공개 메소드

public GetCategory ( int id ) : JsonResult
id int
리턴 JsonResult

GetCategorys() 공개 메소드

public GetCategorys ( ) : JsonResult>
리턴 JsonResult>