internal static DTOLawOfficeSenderBusinessContext ToDTO(LawOfficeSenderBusinessContext model)
        {
            DTOLawOfficeSenderBusinessContext dto = new DTOLawOfficeSenderBusinessContext();

            dto.BusinessContextId      = model.BusinessContextId;
            dto.BusinessContextName    = model.BusinessContextName;
            dto.MessageContextId       = dto.MessageContextId;
            dto.MessageDataContext     = model.MessageDataContext;
            dto.ParentMessageContextId = model.ParentMessageContextId;

            return(dto);
        }
        internal static LawOfficeSenderBusinessContext FromDTO(DTOLawOfficeSenderBusinessContext dto)
        {
            LawOfficeSenderBusinessContext model = new LawOfficeSenderBusinessContext();

            model.BusinessContextId      = dto.BusinessContextId;
            model.BusinessContextName    = dto.BusinessContextName;
            model.MessageContextId       = dto.MessageContextId;
            model.MessageDataContext     = dto.MessageDataContext;
            model.ParentMessageContextId = dto.ParentMessageContextId;

            return(model);
        }