public JsonResponse(IServiceResponse response) { if (!response.Success) { Log.Error(response.Exception); } Response = new JsonResponseWrapper { Success = response.Success, Message = response.Message, Result = response.GetResult() }; }