예제 #1
0
        public async Task <TodoItem> GetTaskById(int id)
        {
            TodoItem item = null;

            try
            {
                item = await _repo.GetTaskByIdAsync(id);
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
            }
            return(item);
        }