public static void UpdateEntity(this Scope model, Entities.ScopeEntity entity) { Mapper.Map(model, entity); }
public static Scope ToModel(this Entities.ScopeEntity entity) { return(entity == null ? null : Mapper.Map <Scope>(entity)); }