IClassificationsService Interface
Namespace: PTS.Modules.Classifications.Domain
Assembly: PTS.Modules.Classifications.dll
Syntax
public interface IClassificationsService
Methods
GetClassificationsTree(Int32, Nullable<Int64>)
Gets the classifications in tree structure.
Declaration
List<Classification> GetClassificationsTree(int maxDepth = 0, long? parent = default(long? ))
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxDepth | The maximum depth for children loading. |
System.Nullable<System.Int64> | parent | The parent for which the tree should be built. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<Classification> |
GetClassificationsTreeAsync(Int32, Nullable<Int64>)
Gets the classifications in tree structure asynchronously.
Declaration
Task<List<Classification>> GetClassificationsTreeAsync(int maxDepth = 0, long? parent = default(long? ))
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxDepth | The maximum depth for children loading. |
System.Nullable<System.Int64> | parent | The parent for which the tree should be built. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.List<Classification>> |