Метод | Описание | |
---|---|---|
AddNews ( |
||
GetAllNewsForUser ( int userId ) : IEnumerable |
||
GetAllUnreadNewsForUser ( int userId ) : IEnumerable |
||
GetNewsById ( int newsId ) : |
||
GetNewsCount ( int userId ) : int | ||
GetUnreadNewsCountForUserByName ( string userName ) : int | ||
MarkAllUnreadNewsForUser ( int userId ) : void | ||
MarkAsRead ( int newsId ) : void | ||
NewsRepository ( |
public AddNews ( |
||
news | ||
Результат | void |
public GetAllNewsForUser ( int userId ) : IEnumerable |
||
userId | int | |
Результат | IEnumerable |
public GetAllUnreadNewsForUser ( int userId ) : IEnumerable |
||
userId | int | |
Результат | IEnumerable |
public GetNewsById ( int newsId ) : |
||
newsId | int | |
Результат |
public GetUnreadNewsCountForUserByName ( string userName ) : int | ||
userName | string | |
Результат | int |
public MarkAllUnreadNewsForUser ( int userId ) : void | ||
userId | int | |
Результат | void |
public NewsRepository ( |
||
dataBaseContext | ||
Результат | System.Collections.Generic |