public virtual ApiHandlerResponseModel MapBOToModel(
            BOHandler boHandler)
        {
            var model = new ApiHandlerResponseModel();

            model.SetProperties(boHandler.Id, boHandler.CountryId, boHandler.Email, boHandler.FirstName, boHandler.LastName, boHandler.Phone);

            return(model);
        }
        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 Handler MapBOToEF(
            BOHandler bo)
        {
            Handler efHandler = new Handler();

            efHandler.SetProperties(
                bo.CountryId,
                bo.Email,
                bo.FirstName,
                bo.Id,
                bo.LastName,
                bo.Phone);
            return(efHandler);
        }
        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);
        }