public async Task DeleteWorksAsync() { var note = new TodoNote { Note = "testing" }; var todo = new Todo(note); await m_controller.DataLayer.InsertAsync(todo); var actionResult = await m_controller.DeleteAsync(todo.Id); var okResult = actionResult as OkResult; Assert.IsNotNull(okResult); }