常用方法
常用方法
常用方法
常用方法
public void GetAllEventsAsync() { var result = noticeService.GetAllAsync().Result; Assert.IsTrue(result.Success); Assert.AreEqual(3, result.Result.Count()); }
public void GetAllEventsAsync() { var result = noticeService.GetAllAsync().Result; Assert.IsTrue(result.Success); Assert.AreEqual(3, result.Result.Count()); }