Beispiel #1
0
        public ActionResult CreateTmpSnippet(int id)
        {
            SaveTmpSnippetViewModel SaveTmpSnippetModel = new SaveTmpSnippetViewModel();

            SaveTmpSnippetModel.TmpSnippet = _snippetService.GetTemporarySnippetById(id);
            SaveTmpSnippetModel.Operations = _snippetService.GetAllOperations();
            SaveTmpSnippetModel.Groups     = _groupService.GetAllGroups();

            return(View(SaveTmpSnippetModel));
        }