Method | Description | |
---|---|---|
CreateAccount ( |
||
CreateAdmin ( |
||
CreateComment ( Comment comment ) : bool | ||
CreatePost ( |
||
DeleteAccount ( string name ) : bool | ||
DeleteComment ( System.Guid comid ) : void | ||
Get30DaysPopular ( ) : IEnumerable |
||
Get7DaysPopular ( ) : IEnumerable |
||
GetAccountById ( System.Guid accountId ) : |
||
GetAccountByLogin ( string name, bool checking ) : |
||
GetAllAccounts ( ) : IEnumerable |
||
GetAllRoles ( ) : string[] | ||
GetAvatar ( string name ) : Photo | ||
GetBookmarks ( string modelName ) : List |
||
GetByTag ( string currentTag ) : IEnumerable |
||
GetComments ( System.Guid postId ) : List |
||
GetIdByName ( string login ) : System.Guid | ||
GetLatestPosts ( ) : IEnumerable |
||
GetLikes ( System.Guid postId, System.Guid accountId ) : int>.Dictionary |
||
GetPost ( System.Guid postid ) : |
||
GetPostsSource ( System.Guid postId ) : Photo | ||
GetRolesOfAccounts ( ) : string[]>.Dictionary |
||
GetSHA256 ( string password ) : string | ||
GetUserById ( System.Guid id ) : |
||
GetUsersPosts ( string currentUser ) : IEnumerable |
||
RegisterRoles ( ) : int | ||
SetLike ( System.Guid postId, System.Guid accountId ) : bool | ||
UpdateAvatar ( System.Guid accountId, byte Avatar, string mimetype ) : bool | ||
UpdateCityAndCountry ( System.Guid id, string newCity, string newCountry ) : bool | ||
UpdateMail ( System.Guid id, string newMail ) : bool | ||
UpdateName ( System.Guid id, string newName ) : bool | ||
UpdatePassword ( System.Guid id, string password ) : bool | ||
UpdateRole ( System.Guid accountId, int roleCode ) : bool |
public CreateAccount ( |
||
account | ||
return | bool |
public CreateAdmin ( |
||
account | ||
return | void |
public CreateComment ( Comment comment ) : bool | ||
comment | Comment | |
return | bool |
public DeleteComment ( System.Guid comid ) : void | ||
comid | System.Guid | |
return | void |
public GetAccountById ( System.Guid accountId ) : |
||
accountId | System.Guid | |
return |
public GetAccountByLogin ( string name, bool checking ) : |
||
name | string | |
checking | bool | |
return |
public GetBookmarks ( string modelName ) : List |
||
modelName | string | |
return | List |
public GetByTag ( string currentTag ) : IEnumerable |
||
currentTag | string | |
return | IEnumerable |
public GetComments ( System.Guid postId ) : List |
||
postId | System.Guid | |
return | List |
public GetIdByName ( string login ) : System.Guid | ||
login | string | |
return | System.Guid |
public GetLikes ( System.Guid postId, System.Guid accountId ) : int>.Dictionary |
||
postId | System.Guid | |
accountId | System.Guid | |
return | int>.Dictionary |
public GetPost ( System.Guid postid ) : |
||
postid | System.Guid | |
return |
public GetPostsSource ( System.Guid postId ) : Photo | ||
postId | System.Guid | |
return | Photo |
public GetRolesOfAccounts ( ) : string[]>.Dictionary |
||
return | string[]>.Dictionary |
public GetSHA256 ( string password ) : string | ||
password | string | |
return | string |
public GetUserById ( System.Guid id ) : |
||
id | System.Guid | |
return |
public GetUsersPosts ( string currentUser ) : IEnumerable |
||
currentUser | string | |
return | IEnumerable |
public SetLike ( System.Guid postId, System.Guid accountId ) : bool | ||
postId | System.Guid | |
accountId | System.Guid | |
return | bool |
public UpdateAvatar ( System.Guid accountId, byte Avatar, string mimetype ) : bool | ||
accountId | System.Guid | |
Avatar | byte | |
mimetype | string | |
return | bool |
public UpdateCityAndCountry ( System.Guid id, string newCity, string newCountry ) : bool | ||
id | System.Guid | |
newCity | string | |
newCountry | string | |
return | bool |
public UpdateMail ( System.Guid id, string newMail ) : bool | ||
id | System.Guid | |
newMail | string | |
return | bool |
public UpdateName ( System.Guid id, string newName ) : bool | ||
id | System.Guid | |
newName | string | |
return | bool |
public UpdatePassword ( System.Guid id, string password ) : bool | ||
id | System.Guid | |
password | string | |
return | bool |
public UpdateRole ( System.Guid accountId, int roleCode ) : bool | ||
accountId | System.Guid | |
roleCode | int | |
return | bool |