Exemple #1
0
        private void DeleteDashboard(ApiDashboard dashboard)
        {
            var tmp = DashboardMapper.ConvertToDALEntity(dashboard);

            foreach (var relation in tmp.Relations)
            {
                DashboardFilterRelationAdapter.Delete(relation.Id);
            }
            DashboardAdapter.Delete(tmp.Dashboard.Id);
        }