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); }