Method | Description | |
---|---|---|
CreateAccount ( |
||
CreateAdmin ( |
||
CreateComment ( |
||
CreatePost ( |
||
DataBase ( ) : System | ||
DeleteAccount ( string name ) : bool | ||
DeleteComment ( System.Guid comid ) : void | ||
GetAccountById ( System.Guid id ) : |
||
GetAccountByLogin ( string username, bool checkExisting ) : |
||
GetAllAccounts ( ) : IEnumerable |
||
GetAllPosts ( ) : List |
||
GetAllRoles ( ) : string[] | ||
GetComents ( System.Guid postId ) : List |
||
GetIdByName ( string login ) : System.Guid | ||
GetLikedByUser ( string modelName ) : IEnumerable |
||
GetLikes ( System.Guid postId, System.Guid accountId ) : int>.Dictionary |
||
GetPost ( System.Guid postId ) : |
||
GetRolesOfAccounts ( ) : string[]>.Dictionary |
||
NameById ( System.Guid accountId ) : string | ||
RegisterRoles ( ) : int | ||
SetLike ( System.Guid postId, System.Guid accountId ) : bool | ||
UpdateAvatar ( System.Guid accountId, byte Image, 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 | ||
return | bool |
public DeleteComment ( System.Guid comid ) : void | ||
comid | System.Guid | |
return | void |
public GetAccountById ( System.Guid id ) : |
||
id | System.Guid | |
return |
public GetAccountByLogin ( string username, bool checkExisting ) : |
||
username | string | |
checkExisting | bool | |
return |
public GetComents ( System.Guid postId ) : List |
||
postId | System.Guid | |
return | List |
public GetIdByName ( string login ) : System.Guid | ||
login | string | |
return | System.Guid |
public GetLikedByUser ( string modelName ) : IEnumerable |
||
modelName | string | |
return | IEnumerable |
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 GetRolesOfAccounts ( ) : string[]>.Dictionary |
||
return | string[]>.Dictionary |
public NameById ( System.Guid accountId ) : string | ||
accountId | System.Guid | |
return | string |
public SetLike ( System.Guid postId, System.Guid accountId ) : bool | ||
postId | System.Guid | |
accountId | System.Guid | |
return | bool |
public UpdateAvatar ( System.Guid accountId, byte Image, string mimeType ) : bool | ||
accountId | System.Guid | |
Image | 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 |