示例#1
0
		public static bool ExportOrganisation(ExportFilter filter)
		{
			var operationResult = ClientManager.RubezhService.ExportOrganisation(filter);
			return Common.ShowErrorIfExists(operationResult);
		}
示例#2
0
		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");
		}
示例#3
0
		public OperationResult<bool> ExportOrganisationList(Guid clientUID, ExportFilter filter)
		{
			return SafeOperationCall(clientUID, () => RubezhService.ExportOrganisationList(clientUID, filter), "ExportOrganisationList");
		}
示例#4
0
		public OperationResult<bool> ExportOrganisationList(Guid clientUID, ExportFilter filter)
		{
			using (var databaseService = new RubezhDAL.DataClasses.DbService())
			{
				return databaseService.OrganisationTranslator.ListSynchroniser.Export(filter);
			}
		}