public override void Update(BllTemplate entity) { ControlMethodsLibService controlMethodsLibService = new ControlMethodsLibService(uow); controlMethodsLibService.Update(entity.ControlMethodsLib, true); uow.Templates.Update(mapper.MapToDal(entity)); uow.Commit(); }
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); }