Пример #1
0
        public void DeleteBackOfficeUser()
        {
            ITypeDocumentService servTypeDocument         = UnityHelper.Resolve <ITypeDocumentService>();
            ICollection <TakeDocModel.TypeDocument> types = servTypeDocument.Get(userId, entityId);

            servTypeDocument.DeleteBackOfficeUser(userId, types.First().TypeDocumentId, entityId, userId);
        }
Пример #2
0
        public void Get()
        {
            ITypeDocumentService       servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>();
            ICollection <TypeDocument> types            = servTypeDocument.Get(userId, entityId);

            Assert.IsTrue(types.Count > 0);
        }