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