C# Class BLL.Logic

Afficher le fichier Open project: sstuteam/fuffy

Méthodes publiques

Méthode Description
AddAlbum ( Album album ) : bool
AddComment ( Comment comment ) : bool
AddLikeComment ( System.Guid CommentId ) : bool
AddLikePhoto ( System.Guid Id, Like like ) : bool
AddPhoto ( Photo image ) : bool
AddUser ( User user ) : bool
CheckAlbumName ( System.Guid ID, string Name ) : bool
CheckLogin ( string Login ) : bool
DeleteLikeComment ( System.Guid CommentId ) : bool
DeleteLikePhoto ( System.Guid Id ) : bool
GetAlbum ( System.Guid idAlbum ) : Album
GetAlbumPhoto ( System.Guid idAlbum ) : Photo
GetAllAlbums ( System.Guid ID ) : IEnumerable
GetAllAlbumsForUser ( System.Guid iduser ) : IEnumerable
GetAllPhoto ( ) : IEnumerable
GetAllPhotoForAlbum ( System.Guid idAlbum ) : IEnumerable
GetAllPhotoForUser ( System.Guid id ) : IEnumerable
GetAllUser ( ) : IEnumerable
GetComments ( ) : IEnumerable
GetComments ( System.Guid id ) : IEnumerable
GetIdAlbum ( System.Guid IDUser, string nameAlbom ) : System.Guid
GetLikesComment ( System.Guid CommentId ) : int
GetLikesPhoto ( System.Guid Id ) : int
GetPhoto ( System.Guid idPhoto ) : Photo
GetUser ( System.Guid id ) : User
GetUser ( string cookie ) : User
GetUser ( string Login, string Password ) : User
Logic ( ) : System
Search ( string name, string fragment ) : IEnumerable

Method Details

AddAlbum() public méthode

public AddAlbum ( Album album ) : bool
album Album
Résultat bool

AddComment() public méthode

public AddComment ( Comment comment ) : bool
comment Entities.Comment
Résultat bool

AddLikeComment() public méthode

public AddLikeComment ( System.Guid CommentId ) : bool
CommentId System.Guid
Résultat bool

AddLikePhoto() public méthode

public AddLikePhoto ( System.Guid Id, Like like ) : bool
Id System.Guid
like Entities.Like
Résultat bool

AddPhoto() public méthode

public AddPhoto ( Photo image ) : bool
image Entities.Photo
Résultat bool

AddUser() public méthode

public AddUser ( User user ) : bool
user User
Résultat bool

CheckAlbumName() public méthode

public CheckAlbumName ( System.Guid ID, string Name ) : bool
ID System.Guid
Name string
Résultat bool

CheckLogin() public méthode

public CheckLogin ( string Login ) : bool
Login string
Résultat bool

DeleteLikeComment() public méthode

public DeleteLikeComment ( System.Guid CommentId ) : bool
CommentId System.Guid
Résultat bool

DeleteLikePhoto() public méthode

public DeleteLikePhoto ( System.Guid Id ) : bool
Id System.Guid
Résultat bool

GetAlbum() public méthode

public GetAlbum ( System.Guid idAlbum ) : Album
idAlbum System.Guid
Résultat Album

GetAlbumPhoto() public méthode

public GetAlbumPhoto ( System.Guid idAlbum ) : Photo
idAlbum System.Guid
Résultat Entities.Photo

GetAllAlbums() public méthode

public GetAllAlbums ( System.Guid ID ) : IEnumerable
ID System.Guid
Résultat IEnumerable

GetAllAlbumsForUser() public méthode

public GetAllAlbumsForUser ( System.Guid iduser ) : IEnumerable
iduser System.Guid
Résultat IEnumerable

GetAllPhoto() public méthode

public GetAllPhoto ( ) : IEnumerable
Résultat IEnumerable

GetAllPhotoForAlbum() public méthode

public GetAllPhotoForAlbum ( System.Guid idAlbum ) : IEnumerable
idAlbum System.Guid
Résultat IEnumerable

GetAllPhotoForUser() public méthode

public GetAllPhotoForUser ( System.Guid id ) : IEnumerable
id System.Guid
Résultat IEnumerable

GetAllUser() public méthode

public GetAllUser ( ) : IEnumerable
Résultat IEnumerable

GetComments() public méthode

public GetComments ( ) : IEnumerable
Résultat IEnumerable

GetComments() public méthode

public GetComments ( System.Guid id ) : IEnumerable
id System.Guid
Résultat IEnumerable

GetIdAlbum() public méthode

public GetIdAlbum ( System.Guid IDUser, string nameAlbom ) : System.Guid
IDUser System.Guid
nameAlbom string
Résultat System.Guid

GetLikesComment() public méthode

public GetLikesComment ( System.Guid CommentId ) : int
CommentId System.Guid
Résultat int

GetLikesPhoto() public méthode

public GetLikesPhoto ( System.Guid Id ) : int
Id System.Guid
Résultat int

GetPhoto() public méthode

public GetPhoto ( System.Guid idPhoto ) : Photo
idPhoto System.Guid
Résultat Entities.Photo

GetUser() public méthode

public GetUser ( System.Guid id ) : User
id System.Guid
Résultat User

GetUser() public méthode

public GetUser ( string cookie ) : User
cookie string
Résultat User

GetUser() public méthode

public GetUser ( string Login, string Password ) : User
Login string
Password string
Résultat User

Logic() public méthode

public Logic ( ) : System
Résultat System

Search() public méthode

public Search ( string name, string fragment ) : IEnumerable
name string
fragment string
Résultat IEnumerable