C# 클래스 TodoApi.Controllers.TodoController

상속: Microsoft.AspNetCore.Mvc.Controller
파일 보기 프로젝트 열기: rfinochi/confsamples 1 사용 예제들

공개 메소드들

메소드 설명
TodoController ( ITodoRepository repository ) : System
TodoController ( ITodoRepository repository ) : System.Collections.Generic

비공개 메소드들

메소드 설명
CreateItem ( [ item ) : void
DeleteItem ( int id ) : IActionResult
GetAll ( ) : IEnumerable
GetById ( int id ) : IActionResult

메소드 상세

TodoController() 공개 메소드

public TodoController ( ITodoRepository repository ) : System
repository ITodoRepository
리턴 System

TodoController() 공개 메소드

public TodoController ( ITodoRepository repository ) : System.Collections.Generic
repository ITodoRepository
리턴 System.Collections.Generic