Interface IContactImportService
Namespace: Simplic.SAC.ContactImport
Assembly: Simplic.SAC.ContactImport.dll
Syntax
public interface IContactImportService
Methods
| Improve this Doc View SourceDelete(ImportContact)
Deletes an import contact.
Declaration
bool Delete(ImportContact obj)
Parameters
Type | Name | Description |
---|---|---|
ImportContact | obj | The import contact to delete. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the delete was successfull. |
Delete(Guid)
Delets an import contact.
Declaration
bool Delete(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | The id of an import contact. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the delete was successfull. |
Get(Guid)
Gets an import contact.
Declaration
ImportContact Get(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | The id of an import contact. |
Returns
Type | Description |
---|---|
ImportContact | The import contact with the given id. |
GetAll()
Gets all import contacts.
Declaration
IEnumerable<ImportContact> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ImportContact> | An enumberable of all import contacts. |
GetAllEnqueued()
Gets all enqueued import cotacts.
Declaration
IEnumerable<ImportContact> GetAllEnqueued()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ImportContact> | An enumerable of all enqueued import contacts. |
Import(ImportContact)
Imports an import contact.
Declaration
bool Import(ImportContact obj)
Parameters
Type | Name | Description |
---|---|---|
ImportContact | obj | An import contact instance. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the import was successfull. |
ImportAllEnqueued()
Imports all enqueued import cotacts.
Declaration
bool ImportAllEnqueued()
Returns
Type | Description |
---|---|
System.Boolean | Whether all imports were successfull. |
Save(ImportContact)
Saves an import contact.
Declaration
bool Save(ImportContact obj)
Parameters
Type | Name | Description |
---|---|---|
ImportContact | obj | An import contact instance. |
Returns
Type | Description |
---|---|
System.Boolean | Whether the save was successfull. |