public static void AddAplicationError(this HttpResponseHeaders httpResponse, string message) { httpResponse.AddAplicationError(message); httpResponse.Add("Access-Control-Allow-Origin", "*"); httpResponse.Add("Access-Control-Expose-Header", "Application-Error"); }