Exemple #1
0
        public IActionResult OnPost(int id)
        {
            TaskStat = taskData.GetStatByTaskId(id);
            TaskStat = taskData.UpdateWorkTime(TaskStat, DateTime.Now);

            return(RedirectToPage("./Statistics"));
        }