Ejemplo n.º 1
0
        public ActionResult DeleteTeam(Guid id)
        {
            Team Team     = reposetory.GetTeam(id);
            Guid FolderId = Team.Folder.FolderID;

            if (Team.Folder.Status == FolderStatus.New)
            {
                reposetory.Delete(Team);
            }
            return(RedirectToAction("Folder", "Planning", new { id = FolderId }));
        }