C# Class ShameTheThrones.Models.RestroomModel

Exibir arquivo Open project: jasekiw/ShameTheThrones Class Usage Examples

Public Properties

Property Type Description
DeletedAt System.DateTime
id int
userId int

Private Properties

Property Type Description

Public Methods

Method Description
AddRestroom ( RestroomModel bathroom ) : void
RestroomModel ( ) : System
RestroomModel ( Restroom restroom ) : System
RestroomModel ( int id ) : System
getAverageRating ( ) : double
getRatingObject ( int id ) : RatingAverageModel
getRestroomWithRating ( int restroomId ) : RestroomWithRatingModel

Method Details

AddRestroom() public method

public AddRestroom ( RestroomModel bathroom ) : void
bathroom RestroomModel
return void

RestroomModel() public method

public RestroomModel ( ) : System
return System

RestroomModel() public method

public RestroomModel ( Restroom restroom ) : System
restroom ShameTheThrones.Models.DbModels.Restroom
return System

RestroomModel() public method

public RestroomModel ( int id ) : System
id int
return System

getAverageRating() public method

public getAverageRating ( ) : double
return double

getRatingObject() public static method

public static getRatingObject ( int id ) : RatingAverageModel
id int
return ShameTheThrones.Models.rating.RatingAverageModel

getRestroomWithRating() public method

public getRestroomWithRating ( int restroomId ) : RestroomWithRatingModel
restroomId int
return RestroomWithRatingModel

Property Details

DeletedAt public_oe property

public DateTime,System DeletedAt
return System.DateTime

id public_oe property

public int id
return int

userId public_oe property

public int userId
return int