public static void DeleteVisualProgress(string code) { try { if (code != "") { EntityData entity = ConstructDAO.GetVisualProgressByCode(code); ConstructDAO.DeleteVisualProgress(entity); entity.Dispose(); } } catch (Exception exception) { throw exception; } }