public static Data.Models.Rating Map(Domain.Rating r) => new Data.Models.Rating
 {
     Rid            = r.RID,
     RatingScore    = r.RatingScore,
     RatingUid      = r.RatingUid,
     SurveyTakerUid = r.SurveyTakerUid,
     Mid            = r.Mid
 };
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            Rating rating = ((Rating)obj);

            return(FanId == rating.FanId && ArtistId == rating.ArtistId);
        }