public virtual BOTransactionStatu MapEFToBO(
            TransactionStatu ef)
        {
            var bo = new BOTransactionStatu();

            bo.SetProperties(
                ef.Id,
                ef.Name);
            return(bo);
        }
Exemplo n.º 2
0
        public virtual BOTransactionStatu MapModelToBO(
            int id,
            ApiTransactionStatuRequestModel model
            )
        {
            BOTransactionStatu boTransactionStatu = new BOTransactionStatu();

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