C# Class Bzs.Server.ServerService.RoomServerService

Represents a room server service.
Inheritance: ServerServiceBase
Afficher le fichier Open project: romankmueller/SchoolPlanner Class Usage Examples

Méthodes publiques

Méthode Description
DeleteRoom ( System.Guid id, System.Guid accountId ) : ResultDto

Deletes the room.

GetRoomLookup ( System.Guid accountId ) : List

Returns the room lookup data.

InsertRoom ( RoomEditDto itemToSave, System.Guid accountId ) : ResultDto

Inserts a room.

RoomExists ( System.Guid id, BzsEntityContainer ctx ) : bool

Returns a value indicating whether the room exists.

RoomServerService ( ) : System

Initializes a new instance of the RoomServerService class.

UpdateRoom ( RoomEditDto itemToSave, System.Guid accountId ) : ResultDto

Updates a room.

Method Details

DeleteRoom() public méthode

Deletes the room.
public DeleteRoom ( System.Guid id, System.Guid accountId ) : ResultDto
id System.Guid The room identifier.
accountId System.Guid The account identifier.
Résultat Bzs.Portable.DataTransferObjects.Base.ResultDto

GetRoomLookup() public méthode

Returns the room lookup data.
public GetRoomLookup ( System.Guid accountId ) : List
accountId System.Guid The account identifier.
Résultat List

InsertRoom() public méthode

Inserts a room.
public InsertRoom ( RoomEditDto itemToSave, System.Guid accountId ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Room.RoomEditDto The item to save.
accountId System.Guid The account identifier.
Résultat Bzs.Portable.DataTransferObjects.Base.ResultDto

RoomExists() public méthode

Returns a value indicating whether the room exists.
public RoomExists ( System.Guid id, BzsEntityContainer ctx ) : bool
id System.Guid The identifier.
ctx Bzs.Server.DataAccess.BzsEntityContainer The entity container.
Résultat bool

RoomServerService() public méthode

Initializes a new instance of the RoomServerService class.
public RoomServerService ( ) : System
Résultat System

UpdateRoom() public méthode

Updates a room.
public UpdateRoom ( RoomEditDto itemToSave, System.Guid accountId ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Room.RoomEditDto The item to save.
accountId System.Guid The account identifier.
Résultat Bzs.Portable.DataTransferObjects.Base.ResultDto