Ejemplo n.º 1
0
		public static bool ImportOrganisationList(ImportFilter filter)
		{
			var operationResult = ClientManager.RubezhService.ImportOrganisationList(filter);
			return Common.ShowErrorIfExists(operationResult);
		}
Ejemplo n.º 2
0
		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");
		}
Ejemplo n.º 3
0
		public OperationResult<bool> ImportOrganisationList(Guid clientUID, ImportFilter filter)
		{
			return SafeOperationCall(clientUID, () => RubezhService.ImportOrganisationList(clientUID, filter), "ImportOrganisationList");
		}
Ejemplo n.º 4
0
		public OperationResult<bool> ImportOrganisationList(Guid clientUID, ImportFilter filter)
		{
			using (var databaseService = new RubezhDAL.DataClasses.DbService())
			{
				return databaseService.OrganisationTranslator.ListSynchroniser.Import(filter);
			}
		}