public HelpApiExceptionResult(T data, HelpApiExceptionType excType) { _data = data; _excType = excType; }
public HelpApiExceptionResult(T data, HelpApiExceptionType excType, System.Net.HttpStatusCode statusCode) { _data = data; _excType = excType; _statusCode = statusCode; }
public IHttpActionResult HelpApiException(Terror data, HelpApiExceptionType excType, HttpStatusCode statusCode = HttpStatusCode.InternalServerError) { return(new HelpApiExceptionResult <Terror>(data, excType, statusCode)); }