namespace Common.Logic.Extensions.Http { using Common.Logic.Extensions.Http.Interfaces; using System; using System.Collections.Generic; using System.Net; public class HttpResponse : IHttpResponse { public HttpResponse() => this.Errors = new Dictionary(); public HttpResponse(Exception exception) : this() => this.Exception = exception; public Boolean Succeeded { get; internal set; } public HttpStatusCode StatusCode { get; internal set; } public T Value { get; internal set; } public Exception Exception { get; internal set; } public Dictionary Errors { get; internal set; } } }