C# Class FuddleAlbum, Fuddle

this class is used for CRUD album
Mostrar archivo Open project: btevfik/Fuddle

Public Methods

Method Description
FuddleAlbum ( ) : System
addImage ( int album_id, int image_id ) : void
changeAlbumCover ( int image_id, int albumId ) : void
createAlbum ( string title ) : void
deleteAlbum ( int album_id ) : void
deleteImage ( int image_id ) : void
getAlbumCover ( int album_id ) : int
getAllAlbums ( System.Guid id ) : List
getImages ( int album_id ) : List
getTitle ( int album_id ) : string
getUser ( int album_id ) : string
updateTitle ( string new_album_title, int album_id ) : void

Private Methods

Method Description
deleteCover ( int cover_id ) : void

Method Details

FuddleAlbum() public method

public FuddleAlbum ( ) : System
return System

addImage() public static method

public static addImage ( int album_id, int image_id ) : void
album_id int
image_id int
return void

changeAlbumCover() public static method

public static changeAlbumCover ( int image_id, int albumId ) : void
image_id int
albumId int
return void

createAlbum() public static method

public static createAlbum ( string title ) : void
title string
return void

deleteAlbum() public static method

public static deleteAlbum ( int album_id ) : void
album_id int
return void

deleteImage() public static method

public static deleteImage ( int image_id ) : void
image_id int
return void

getAlbumCover() public static method

public static getAlbumCover ( int album_id ) : int
album_id int
return int

getAllAlbums() public static method

public static getAllAlbums ( System.Guid id ) : List
id System.Guid
return List

getImages() public static method

public static getImages ( int album_id ) : List
album_id int
return List

getTitle() public static method

public static getTitle ( int album_id ) : string
album_id int
return string

getUser() public static method

public static getUser ( int album_id ) : string
album_id int
return string

updateTitle() public static method

public static updateTitle ( string new_album_title, int album_id ) : void
new_album_title string
album_id int
return void