C# Класс BLL.Logic

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AddAlbum() публичный Метод

public AddAlbum ( Album album ) : bool
album Album
Результат bool

AddComment() публичный Метод

public AddComment ( Comment comment ) : bool
comment Entities.Comment
Результат bool

AddLikeComment() публичный Метод

public AddLikeComment ( System.Guid CommentId ) : bool
CommentId System.Guid
Результат bool

AddLikePhoto() публичный Метод

public AddLikePhoto ( System.Guid Id, Like like ) : bool
Id System.Guid
like Entities.Like
Результат bool

AddPhoto() публичный Метод

public AddPhoto ( Photo image ) : bool
image Entities.Photo
Результат bool

AddUser() публичный Метод

public AddUser ( User user ) : bool
user User
Результат bool

CheckAlbumName() публичный Метод

public CheckAlbumName ( System.Guid ID, string Name ) : bool
ID System.Guid
Name string
Результат bool

CheckLogin() публичный Метод

public CheckLogin ( string Login ) : bool
Login string
Результат bool

DeleteLikeComment() публичный Метод

public DeleteLikeComment ( System.Guid CommentId ) : bool
CommentId System.Guid
Результат bool

DeleteLikePhoto() публичный Метод

public DeleteLikePhoto ( System.Guid Id ) : bool
Id System.Guid
Результат bool

GetAlbum() публичный Метод

public GetAlbum ( System.Guid idAlbum ) : Album
idAlbum System.Guid
Результат Album

GetAlbumPhoto() публичный Метод

public GetAlbumPhoto ( System.Guid idAlbum ) : Photo
idAlbum System.Guid
Результат Entities.Photo

GetAllAlbums() публичный Метод

public GetAllAlbums ( System.Guid ID ) : IEnumerable
ID System.Guid
Результат IEnumerable

GetAllAlbumsForUser() публичный Метод

public GetAllAlbumsForUser ( System.Guid iduser ) : IEnumerable
iduser System.Guid
Результат IEnumerable

GetAllPhoto() публичный Метод

public GetAllPhoto ( ) : IEnumerable
Результат IEnumerable

GetAllPhotoForAlbum() публичный Метод

public GetAllPhotoForAlbum ( System.Guid idAlbum ) : IEnumerable
idAlbum System.Guid
Результат IEnumerable

GetAllPhotoForUser() публичный Метод

public GetAllPhotoForUser ( System.Guid id ) : IEnumerable
id System.Guid
Результат IEnumerable

GetAllUser() публичный Метод

public GetAllUser ( ) : IEnumerable
Результат IEnumerable

GetComments() публичный Метод

public GetComments ( ) : IEnumerable
Результат IEnumerable

GetComments() публичный Метод

public GetComments ( System.Guid id ) : IEnumerable
id System.Guid
Результат IEnumerable

GetIdAlbum() публичный Метод

public GetIdAlbum ( System.Guid IDUser, string nameAlbom ) : System.Guid
IDUser System.Guid
nameAlbom string
Результат System.Guid

GetLikesComment() публичный Метод

public GetLikesComment ( System.Guid CommentId ) : int
CommentId System.Guid
Результат int

GetLikesPhoto() публичный Метод

public GetLikesPhoto ( System.Guid Id ) : int
Id System.Guid
Результат int

GetPhoto() публичный Метод

public GetPhoto ( System.Guid idPhoto ) : Photo
idPhoto System.Guid
Результат Entities.Photo

GetUser() публичный Метод

public GetUser ( System.Guid id ) : User
id System.Guid
Результат User

GetUser() публичный Метод

public GetUser ( string cookie ) : User
cookie string
Результат User

GetUser() публичный Метод

public GetUser ( string Login, string Password ) : User
Login string
Password string
Результат User

Logic() публичный Метод

public Logic ( ) : System
Результат System

Search() публичный Метод

public Search ( string name, string fragment ) : IEnumerable
name string
fragment string
Результат IEnumerable