public static void UpdateEntity(
     this Models.ExternalAccount model, ExternalAccount entity)
 {
     Mapper.Map(model, entity);
 }
 public static ExternalAccount ToEntity(
     this Models.ExternalAccount model)
 {
     return(model == null ? null : Mapper
            .Map <ExternalAccount>(model));
 }