Exemplo n.º 1
0
        public async Task <IActionResult> EditTask(Taskz task)
        {
            bool state = await _repo2.EditTask(task);

            if (state == true)
            {
                return(RedirectToAction(nameof(GetTasks), new { success = state }));
            }


            return(View());
        }