Exemplo n.º 1
0
        public ActionResult Create(DirectoryViewModel directory)
        {
            var model = Directory.CreateModel(directory);

            _directoryRepository.CreateDirectory(model);
            return(ReturnToDetails(directory.ParentId));
        }