public virtual BOMutex MapEFToBO(
            Mutex ef)
        {
            var bo = new BOMutex();

            bo.SetProperties(
                ef.Id,
                ef.JSON);
            return(bo);
        }
Exemple #2
0
        public virtual BOMutex MapModelToBO(
            string id,
            ApiMutexRequestModel model
            )
        {
            BOMutex boMutex = new BOMutex();

            boMutex.SetProperties(
                id,
                model.JSON);
            return(boMutex);
        }