public void TestDocumentView() { ImnsComparableUser modelImns = new ImnsComparableUser(); var model = modelImns.FindAllUsersAndAttribute(); var t = model.FullModelUserAllSystem.Where(x => x.Surname == "Иванов").FirstOrDefault(); modelImns.Dispose(); }
/// <summary> /// Все пользователи Lotus Notes /// </summary> /// <returns></returns> public async Task <ModelComparableUser> AllUsersLotusNotes() { return(await Task.Factory.StartNew(() => { ImnsComparableUser modelImns = new ImnsComparableUser(); var model = modelImns.FindAllUsersAndAttribute(); modelImns.Dispose(); return model; })); }