public virtual BOHandler MapEFToBO( Handler ef) { var bo = new BOHandler(); bo.SetProperties( ef.Id, ef.CountryId, ef.Email, ef.FirstName, ef.LastName, ef.Phone); return(bo); }
public virtual BOHandler MapModelToBO( int id, ApiHandlerRequestModel model ) { BOHandler boHandler = new BOHandler(); boHandler.SetProperties( id, model.CountryId, model.Email, model.FirstName, model.LastName, model.Phone); return(boHandler); }