Beispiel #1
0
        public IActionResult EditCategory(Category c)
        {
            TaskDB taskDB = new TaskDB(@"Data Source=.\sqlexpress;Initial Catalog=ToDo;Integrated Security=True;");

            taskDB.EditCategory(c);
            return(Redirect("/home/SeeCategories"));
        }