C# 클래스 PhotoSharingApp.AppService.Controllers.PhotoController

상속: BaseController
파일 보기 프로젝트 열기: Microsoft/Appsample-Photosharing 1 사용 예제들

공개 메소드들

메소드 설명
PhotoController ( IRepository repository, Microsoft.ApplicationInsights.TelemetryClient telemetryClient, IPhotoValidation photoValidation, IUserRegistrationReferenceProvider userRegistrationReferenceProvider ) : System.Threading.Tasks

Controller for photo operations.

비공개 메소드들

메소드 설명
DeleteAsync ( string id ) : System.Threading.Tasks.Task
GetAsync ( string id ) : Task
PostAsync ( PhotoContract photo ) : Task
PutAsync ( PhotoContract photo ) : Task

메소드 상세

PhotoController() 공개 메소드

Controller for photo operations.
public PhotoController ( IRepository repository, Microsoft.ApplicationInsights.TelemetryClient telemetryClient, IPhotoValidation photoValidation, IUserRegistrationReferenceProvider userRegistrationReferenceProvider ) : System.Threading.Tasks
repository IRepository Data layer.
telemetryClient Microsoft.ApplicationInsights.TelemetryClient Telemetry client.
photoValidation IPhotoValidation Validation layer.
userRegistrationReferenceProvider IUserRegistrationReferenceProvider The user registration reference provider.
리턴 System.Threading.Tasks