📜  c# moq task return null - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:07.459000             🧑  作者: Mango

代码示例1
repository.Setup(r => r.GetMemberAsync(email)).Returns(Task.FromResult(null));