public void DeleteBackOfficeUser() { ITypeDocumentService servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>(); ICollection <TakeDocModel.TypeDocument> types = servTypeDocument.Get(userId, entityId); servTypeDocument.DeleteBackOfficeUser(userId, types.First().TypeDocumentId, entityId, userId); }
public void Get() { ITypeDocumentService servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>(); ICollection <TypeDocument> types = servTypeDocument.Get(userId, entityId); Assert.IsTrue(types.Count > 0); }
public QuickFindTypeDataMenuItem(IShell shell, ITypeDocumentService documentService) { this.shell = shell; this.shell.ServiceChanged += this.InvokeCanExecuteChangedEvent; this.documentService = documentService; this.documentService.SelectionChanged += this.InvokeCanExecuteChangedEvent; this.InputGesture = new KeyGesture(Key.F, ModifierKeys.Control); this.DisplayName = Resources.MenuItem_QuickFind; }
public void GetBackOfficeUser() { ITypeDocumentService servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>(); servTypeDocument.GetBackOfficeUser(new Guid("75E455BD-0717-4121-BFBB-1AF71DB4DB95"), new Guid("55C72E33-8864-4E0E-9BC8-C82378B2BF8C")); }
public void AddDataField() { ITypeDocumentService servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>(); //servTypeDocument.AddDataField("TESTAVT", "DATE_NOTE_FRAIS", true, false, null, "MASTER", "ROOT"); }