C# Class Felbook.Models.StatusService

Inheritance: IStatusService
ファイルを表示 Open project: janmarek/Felbook

Public Methods

Method Description
AddCommentToStatus ( User author, Status commentedStatus, string text ) : void

Vytvoří nový komentář ke statusu se zadanými parametry

AddStatus ( User user, Event ev, StatusFormModel formModel ) : void
AddStatus ( User user, Group group, Event ev, StatusFormModel formModel ) : void
AddStatus ( User user, Group group, StatusFormModel formModel ) : void
AddStatus ( User user, StatusFormModel formModel ) : void
FindStatusById ( int id ) : Status

Najde status, který má odpovídající id

StatusService ( FelBookDBEntities DBEntities, IWallService wallService, IImageService imageService, IFileService fileService ) : System

Method Details

AddCommentToStatus() public method

Vytvoří nový komentář ke statusu se zadanými parametry
public AddCommentToStatus ( User author, Status commentedStatus, string text ) : void
author User autor komentáře
commentedStatus Status status, který je komentován
text string text komentáře
return void

AddStatus() public method

public AddStatus ( User user, Event ev, StatusFormModel formModel ) : void
user User
ev Event
formModel StatusFormModel
return void

AddStatus() public method

public AddStatus ( User user, Group group, Event ev, StatusFormModel formModel ) : void
user User
group Group
ev Event
formModel StatusFormModel
return void

AddStatus() public method

public AddStatus ( User user, Group group, StatusFormModel formModel ) : void
user User
group Group
formModel StatusFormModel
return void

AddStatus() public method

public AddStatus ( User user, StatusFormModel formModel ) : void
user User
formModel StatusFormModel
return void

FindStatusById() public method

Najde status, který má odpovídající id
public FindStatusById ( int id ) : Status
id int
return Status

StatusService() public method

public StatusService ( FelBookDBEntities DBEntities, IWallService wallService, IImageService imageService, IFileService fileService ) : System
DBEntities FelBookDBEntities
wallService IWallService
imageService IImageService
fileService IFileService
return System