public async Task <IActionResult> GetSocialAuthConfig() { ReadAppSettingResult result = await _mediatr.Send(new GetAppSettingsQuery()); return(Ok(result.SocialAuthSettings)); }
public async Task <IActionResult> GetAppSettings() { ReadAppSettingResult result = await _mediatr.Send(new GetAppSettingsQuery()); return(HandleResult(result, _mapper.Map <ReadAppSettingResultDto>(result))); }