Class TimeZoneSettingsController
Implements
Inherited Members
Namespace: Volo.Abp.SettingManagement
Assembly: Volo.Abp.SettingManagement.HttpApi.dll
Syntax
[RemoteService(true, Name = "SettingManagement")]
[Area("settingManagement")]
[Route("api/setting-management/timezone")]
public class TimeZoneSettingsController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns, ITimeZoneSettingsAppService, IApplicationService, IRemoteService
Constructors
TimeZoneSettingsController(ITimeZoneSettingsAppService)
Declaration
public TimeZoneSettingsController(ITimeZoneSettingsAppService timeZoneSettingsAppService)
Parameters
Type | Name | Description |
---|---|---|
ITimeZoneSettingsAppService | timeZoneSettingsAppService |
Methods
GetAsync()
Declaration
[HttpGet]
public Task<string> GetAsync()
Returns
Type | Description |
---|---|
Task<string> |
GetTimezonesAsync()
Declaration
[HttpGet]
[Route("timezones")]
public Task<List<NameValue>> GetTimezonesAsync()
Returns
Type | Description |
---|---|
Task<List<NameValue>> |
UpdateAsync(string)
Declaration
[HttpPost]
public Task UpdateAsync(string timezone)
Parameters
Type | Name | Description |
---|---|---|
string | timezone |
Returns
Type | Description |
---|---|
Task |