public Response FindByAttribute(string att, string value) { Response response = new Response(); try { response.Text = $"Attribute: {att} with value: {value} has been found :" + Environment.NewLine + JsonConverter.JsonConverter.ObjToJson(Processor.FindByAttribute(att, value)); response.Result = false; } catch { response.Text = "Are you sure the attribute you are looking for exists ?"; response.Result = false; } return(response); }