Esempio n. 1
0
 public static void MapTo(this FeaturedStatistics statistics, FeaturedStatisticsEntity entity)
 {
     entity.createdJobAds  = statistics.CreatedJobAds;
     entity.members        = statistics.Members;
     entity.memberSearches = statistics.MemberSearches;
     entity.memberAccesses = statistics.MemberAccesses;
 }
Esempio n. 2
0
 public static FeaturedStatistics Map(this FeaturedStatisticsEntity entity)
 {
     return(new FeaturedStatistics
     {
         CreatedJobAds = entity.createdJobAds,
         Members = entity.members,
         MemberSearches = entity.memberSearches,
         MemberAccesses = entity.memberAccesses,
     });
 }