Ejemplo n.º 1
0
        public void FindAllJobPost()
        {
            //Arrange
            DbJobPost dbJobPost = new DbJobPost();

            //Act
            List <JobPost> jobPostList = dbJobPost.GetAll();

            //Assert
            Assert.IsTrue(jobPostList.Count > 1);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Returns a list of all JobPost in the database.
 /// </summary>
 /// <returns></returns>
 public List <JobPost> GetAll()
 {
     return(dbJobPost.GetAll());
 }