public void TestGetAuthors() { var result = bll.GetAuthors(); Assert.AreEqual(1, result.FirstOrDefault().AuthorId); }
public IHttpActionResult GetAuthors() { return(Ok(_bll.GetAuthors())); }