Esempio n. 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);
        }
Esempio n. 2
0
        public void Get()
        {
            ITypeDocumentService       servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>();
            ICollection <TypeDocument> types            = servTypeDocument.Get(userId, entityId);

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