public virtual BOCountryRequirement MapEFToBO( CountryRequirement ef) { var bo = new BOCountryRequirement(); bo.SetProperties( ef.Id, ef.CountryId, ef.Details); return(bo); }
public virtual BOCountryRequirement MapModelToBO( int id, ApiCountryRequirementRequestModel model ) { BOCountryRequirement boCountryRequirement = new BOCountryRequirement(); boCountryRequirement.SetProperties( id, model.CountryId, model.Details); return(boCountryRequirement); }