public static bool ImportOrganisationList(ImportFilter filter) { var operationResult = ClientManager.RubezhService.ImportOrganisationList(filter); return Common.ShowErrorIfExists(operationResult); }
public OperationResult<bool> ImportOrganisationList(ImportFilter filter) { return SafeOperationCall(() => { var rubezhService = RubezhServiceFactory.Create(TimeSpan.FromMinutes(10)); using (rubezhService as IDisposable) return rubezhService.ImportOrganisationList(RubezhServiceFactory.UID, filter); }, "ImportOrganisationList"); }
public OperationResult<bool> ImportOrganisationList(Guid clientUID, ImportFilter filter) { return SafeOperationCall(clientUID, () => RubezhService.ImportOrganisationList(clientUID, filter), "ImportOrganisationList"); }
public OperationResult<bool> ImportOrganisationList(Guid clientUID, ImportFilter filter) { using (var databaseService = new RubezhDAL.DataClasses.DbService()) { return databaseService.OrganisationTranslator.ListSynchroniser.Import(filter); } }