public ApplicationErrorResponse LogApplicationError(ApplicationErrorRequest request) { var error = Mapper.Map <Error>(request); _logging.Log(error); return(new ApplicationErrorResponse()); }
public async Task ApplicationErrorAsync(ApplicationErrorRequest request) { var result = await HttpClient.SecurePostAsJsonAsync(Token, "api/Security/LogApplicationError", request); await EnsureApiResult <ApplicationErrorResponse>(result); }