public virtual ApiStateResponseModel MapBOToModel(
            BOState boState)
        {
            var model = new ApiStateResponseModel();

            model.SetProperties(boState.Id, boState.Name);

            return(model);
        }
        public virtual BOState MapEFToBO(
            State ef)
        {
            var bo = new BOState();

            bo.SetProperties(
                ef.Id,
                ef.Name);
            return(bo);
        }
        public virtual State MapBOToEF(
            BOState bo)
        {
            State efState = new State();

            efState.SetProperties(
                bo.Id,
                bo.Name);
            return(efState);
        }
        public virtual BOState MapModelToBO(
            int id,
            ApiStateRequestModel model
            )
        {
            BOState boState = new BOState();

            boState.SetProperties(
                id,
                model.Name);
            return(boState);
        }