Class UmbProfileController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Microsoft.AspNetCore.Mvc.Controller
Namespace: Umbraco.Cms.Web.Website.Controllers
Assembly: Umbraco.Web.Website.dll
Syntax
[UmbracoMemberAuthorize]
public class UmbProfileController : SurfaceController, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
Constructors
View SourceUmbProfileController(IUmbracoContextAccessor, IUmbracoDatabaseFactory, ServiceContext, AppCaches, IProfilingLogger, IPublishedUrlProvider, IMemberManager, IMemberService, IMemberTypeService, ICoreScopeProvider)
Declaration
public UmbProfileController(IUmbracoContextAccessor umbracoContextAccessor, IUmbracoDatabaseFactory databaseFactory, ServiceContext services, AppCaches appCaches, IProfilingLogger profilingLogger, IPublishedUrlProvider publishedUrlProvider, IMemberManager memberManager, IMemberService memberService, IMemberTypeService memberTypeService, ICoreScopeProvider scopeProvider)
Parameters
Type | Name | Description |
---|---|---|
IUmbracoContextAccessor | umbracoContextAccessor | |
IUmbracoDatabaseFactory | databaseFactory | |
ServiceContext | services | |
AppCaches | appCaches | |
IProfilingLogger | profilingLogger | |
IPublishedUrlProvider | publishedUrlProvider | |
IMemberManager | memberManager | |
IMemberService | memberService | |
IMemberTypeService | memberTypeService | |
ICoreScopeProvider | scopeProvider |
Methods
View SourceHandleUpdateProfile(ProfileModel)
Declaration
[HttpPost]
[ValidateAntiForgeryToken]
[ValidateUmbracoFormRouteString]
public async Task<IActionResult> HandleUpdateProfile([Bind(new string[]{}, Prefix = "profileModel")] ProfileModel model)
Parameters
Type | Name | Description |
---|---|---|
ProfileModel | model |
Returns
Type | Description |
---|---|
Task<Microsoft.AspNetCore.Mvc.IActionResult> |