public virtual BOSpecies MapEFToBO( Species ef) { var bo = new BOSpecies(); bo.SetProperties( ef.Id, ef.Name); return(bo); }
public virtual BOSpecies MapModelToBO( int id, ApiSpeciesRequestModel model ) { BOSpecies boSpecies = new BOSpecies(); boSpecies.SetProperties( id, model.Name); return(boSpecies); }