Exemplo n.º 1
0
 private void FillData()
 {
     CategoryService.FillCategory();
     TagService.FillTags();
     AccountController.AddCategor();
     AccountController.AddTags();
     NewService.GetNews();
     RatingService.SetRating();
     CommentsService.GetCountComments();
 }
Exemplo n.º 2
0
 public void ChangeRating(string param)
 {
     UserService.ChangeRating(Convert.ToSingle(param));
     NewService.GetNews(Convert.ToSingle(param));
 }
Exemplo n.º 3
0
 private Stack <DBNews> MyNews()
 {
     return(NewService.GetNews(UserService.user.userId));
 }