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