Example #1
0
 public Advertisement GetItemByID(int userId, int itemId)
 {
     return(_advertisements.Find(r => (r.AuthorId == userId) && (r.Id == itemId)));
 }