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