Exemplo n.º 1
0
 public void AddView()
 {
     if (Raiting == null)
     {
         Raiting = new Raiting();
     }
     PageViews++;
     Raiting.AddView();
 }
Exemplo n.º 2
0
 public void AddLike(LikeType likeType, LikeDetails exist = LikeDetails.Voited)
 {
     if (likeType == LikeType.Like)
     {
         Raiting.AddLike(exist);
     }
     else
     {
         Raiting.AddDislike(exist);
     }
 }
Exemplo n.º 3
0
 public void AddWallPost(Views views)
 {
     Wall.Add(views);
     Raiting.AddWallPost();
 }