Beispiel #1
0
 public void GetListOfLocationsRatedByUser()
 {
     try
     {
         DbLocation      dbLocation = new DbLocation();
         List <Location> list       = dbLocation.LocationsByCommentUserName("Aksel");
         Assert.IsTrue(list.Count > 0);
     }
     catch (FaultException <System.Exception> )
     {
         Assert.Fail();
     }
 }
Beispiel #2
0
 /// <summary>
 /// gets location assosiated with rating created by user
 /// </summary>
 /// <param name="userName"></param>
 /// <returns>List<Location/></returns>
 public List <Location> GetLocationsByCommentUserName(string userName)
 {
     return(_dbLocation.LocationsByCommentUserName(userName));
 }