Пример #1
0
 public ScheduleOrganization MapToOrm(DalScheduleOrganization entity)
 {
     return(new ScheduleOrganization
     {
         id = entity.Id,
         address = entity.Address,
         description = entity.Description,
         name = entity.Name
     });
 }
        public BllScheduleOrganization MapToBll(DalScheduleOrganization entity)
        {
            BllScheduleOrganization bllEntity = new BllScheduleOrganization
            {
                Id          = entity.Id,
                Name        = entity.Name,
                Address     = entity.Address,
                Description = entity.Description
            };

            return(bllEntity);
        }