C# Class Oditel.Cirqus.Services.RoomService

Inheritance: IRoomService
ファイルを表示 Open project: SamuelDebruyn/AD5-Cirqus-demo Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddRoom ( IRoom room ) : System.Guid
AddRoom ( bool tv, bool seperateToilet, Bathroom bathroom, Dimensions dimensions ) : System.Guid
GetAllRooms ( ) : ICollection
GetRoomById ( System.Guid roomId ) : IRoom
RoomService ( ICommandProcessor processor, IQueryable rooms ) : System

Method Details

AddRoom() public method

public AddRoom ( IRoom room ) : System.Guid
room IRoom
return System.Guid

AddRoom() public method

public AddRoom ( bool tv, bool seperateToilet, Bathroom bathroom, Dimensions dimensions ) : System.Guid
tv bool
seperateToilet bool
bathroom Oditel.Models.RoomContext.Bathroom
dimensions Oditel.Models.RoomContext.Dimensions
return System.Guid

GetAllRooms() public method

public GetAllRooms ( ) : ICollection
return ICollection

GetRoomById() public method

public GetRoomById ( System.Guid roomId ) : IRoom
roomId System.Guid
return IRoom

RoomService() public method

public RoomService ( ICommandProcessor processor, IQueryable rooms ) : System
processor ICommandProcessor
rooms IQueryable
return System