Exemple #1
0
        public static ReviewSession ToSession(this ReviewIndex index, IReadContext <ReviewSession> readContext)
        {
            var session = readContext.Get(index.Id);

            return(Mapper.Map(index, session));
        }
Exemple #2
0
 public static ReviewSession ToNewSession(this ReviewIndex index)
 {
     return(Mapper.Map <ReviewSession>(index));
 }