コード例 #1
0
        public override void Update(BllTemplate entity)
        {
            ControlMethodsLibService controlMethodsLibService = new ControlMethodsLibService(uow);

            controlMethodsLibService.Update(entity.ControlMethodsLib, true);
            uow.Templates.Update(mapper.MapToDal(entity));
            uow.Commit();
        }
コード例 #2
0
        public new BllJournal Update(BllJournal entity)
        {
            ControlMethodsLibService controlMethodsLibService = new ControlMethodsLibService(uow);

            entity.ControlMethodsLib = controlMethodsLibService.Update(entity.ControlMethodsLib, false);
            uow.Journals.Update(mapper.MapToDal(entity));
            uow.Commit();

            return(entity);
        }