Beispiel #1
0
        public IApplication Delete(string id)
        {
            IApplication app = ApplicationBLL.Get(id);

            if (app != null)
            {
                app = ApplicationBLL.Delete(app);
            }
            ICase c = CaseBLL.Get(id);

            if (c != null)
            {
                c = CaseBLL.Delete(c);
            }
            ICollection col = CollectionBLL.Get(id);

            if (col != null)
            {
                col = CollectionBLL.Delete(col);
            }

            return(app);
        }