Beispiel #1
0
        public async Task <ActionResult> MyList(System.Web.Mvc.FormCollection form, int id)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    await taskListRepository.changeStatus(form, id);

                    return(RedirectToAction("Index"));
                }
            }
            catch (Exception)
            {
                throw;
            }
            return(View());
        }