MvvmFramework.Samples.Uwp.Repositories.TodoListItemsRepository.GetTodoListItem C# (CSharp) Method

GetTodoListItem() public method

Gets the specified todo list item.
public GetTodoListItem ( string id ) : TodoListItem
id string The ID of the todo list item that is to be retrieved.
return MvvmFramework.Samples.Uwp.Models.TodoListItem
        public TodoListItem GetTodoListItem(string id) => TodoListItemsRepository.todoListItems.FirstOrDefault(item => item.Id == id);