C# Class PhotoSharingApp.AppService.Controllers.UserController

Inheritance: BaseController
Mostra file Open project: Microsoft/Appsample-Photosharing Class Usage Examples

Public Methods

Method Description
UserController ( IRepository repository, Microsoft.ApplicationInsights.TelemetryClient telemetryClient, IUserRegistrationReferenceProvider userRegistrationReferenceProvider ) : System.Threading.Tasks

Controller to handle creation and acquisition of user object.

Private Methods

Method Description
GetUser ( ) : Task
UpdateUserProfile ( UserContract user ) : Task

Method Details

UserController() public method

Controller to handle creation and acquisition of user object.
public UserController ( IRepository repository, Microsoft.ApplicationInsights.TelemetryClient telemetryClient, IUserRegistrationReferenceProvider userRegistrationReferenceProvider ) : System.Threading.Tasks
repository IRepository Data access layer.
telemetryClient Microsoft.ApplicationInsights.TelemetryClient ApplicationInsights telemetry client.
userRegistrationReferenceProvider IUserRegistrationReferenceProvider The user registration reference provider.
return System.Threading.Tasks