C# Class BLL.Logic

Mostra file Open project: sstuteam/fuffy

Public Methods

Method 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 method

public AddAlbum ( Album album ) : bool
album Album
return bool

AddComment() public method

public AddComment ( Comment comment ) : bool
comment Entities.Comment
return bool

AddLikeComment() public method

public AddLikeComment ( System.Guid CommentId ) : bool
CommentId System.Guid
return bool

AddLikePhoto() public method

public AddLikePhoto ( System.Guid Id, Like like ) : bool
Id System.Guid
like Entities.Like
return bool

AddPhoto() public method

public AddPhoto ( Photo image ) : bool
image Entities.Photo
return bool

AddUser() public method

public AddUser ( User user ) : bool
user User
return bool

CheckAlbumName() public method

public CheckAlbumName ( System.Guid ID, string Name ) : bool
ID System.Guid
Name string
return bool

CheckLogin() public method

public CheckLogin ( string Login ) : bool
Login string
return bool

DeleteLikeComment() public method

public DeleteLikeComment ( System.Guid CommentId ) : bool
CommentId System.Guid
return bool

DeleteLikePhoto() public method

public DeleteLikePhoto ( System.Guid Id ) : bool
Id System.Guid
return bool

GetAlbum() public method

public GetAlbum ( System.Guid idAlbum ) : Album
idAlbum System.Guid
return Album

GetAlbumPhoto() public method

public GetAlbumPhoto ( System.Guid idAlbum ) : Photo
idAlbum System.Guid
return Entities.Photo

GetAllAlbums() public method

public GetAllAlbums ( System.Guid ID ) : IEnumerable
ID System.Guid
return IEnumerable

GetAllAlbumsForUser() public method

public GetAllAlbumsForUser ( System.Guid iduser ) : IEnumerable
iduser System.Guid
return IEnumerable

GetAllPhoto() public method

public GetAllPhoto ( ) : IEnumerable
return IEnumerable

GetAllPhotoForAlbum() public method

public GetAllPhotoForAlbum ( System.Guid idAlbum ) : IEnumerable
idAlbum System.Guid
return IEnumerable

GetAllPhotoForUser() public method

public GetAllPhotoForUser ( System.Guid id ) : IEnumerable
id System.Guid
return IEnumerable

GetAllUser() public method

public GetAllUser ( ) : IEnumerable
return IEnumerable

GetComments() public method

public GetComments ( ) : IEnumerable
return IEnumerable

GetComments() public method

public GetComments ( System.Guid id ) : IEnumerable
id System.Guid
return IEnumerable

GetIdAlbum() public method

public GetIdAlbum ( System.Guid IDUser, string nameAlbom ) : System.Guid
IDUser System.Guid
nameAlbom string
return System.Guid

GetLikesComment() public method

public GetLikesComment ( System.Guid CommentId ) : int
CommentId System.Guid
return int

GetLikesPhoto() public method

public GetLikesPhoto ( System.Guid Id ) : int
Id System.Guid
return int

GetPhoto() public method

public GetPhoto ( System.Guid idPhoto ) : Photo
idPhoto System.Guid
return Entities.Photo

GetUser() public method

public GetUser ( System.Guid id ) : User
id System.Guid
return User

GetUser() public method

public GetUser ( string cookie ) : User
cookie string
return User

GetUser() public method

public GetUser ( string Login, string Password ) : User
Login string
Password string
return User

Logic() public method

public Logic ( ) : System
return System

Search() public method

public Search ( string name, string fragment ) : IEnumerable
name string
fragment string
return IEnumerable