public static Task Ok(this HttpResponse source, object content = null) { source.StatusCode = (int)HttpStatusCode.OK; if (content != null) { source.WriteJson(content); } return(Task.CompletedTask); }
public static Task Ok(this HttpResponse source, object content = null) { source.StatusCode = (int)HttpStatusCode.OK; if (content != null) { source.WriteJson(content); } return(Task.CompletedTask); }