public virtual BOBreed MapEFToBO( Breed ef) { var bo = new BOBreed(); bo.SetProperties( ef.Id, ef.Name); return(bo); }
public virtual BOBreed MapModelToBO( int id, ApiBreedRequestModel model ) { BOBreed boBreed = new BOBreed(); boBreed.SetProperties( id, model.Name); return(boBreed); }