Interface ITaskPolicyService
Task Policy Service interface
Namespace: Cmc.Nexus.Crm.Services
Assembly: Cmc.Nexus.Crm.Contracts.dll
Syntax
public interface ITaskPolicyService : IEntityService<TaskPolicyEntity>, IService
Methods
GetGroupPolicyDetails(Int32)
Gets the group policy details.
Declaration
IEnumerable<TaskPolicyDetailEntity> GetGroupPolicyDetails(int staffId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | staffId | The staff identifier. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TaskPolicyDetailEntity> |
GetGroupPolicyDetails(Int32, Int32)
Gets the group policy details as they apply to the other Staff Id.
Declaration
IEnumerable<TaskPolicyDetailEntity> GetGroupPolicyDetails(int staffId, int otherStaffId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | staffId | The staff identifier. |
System.Int32 | otherStaffId | The other staff identifier. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TaskPolicyDetailEntity> |
GetPolicyDetails(Int32)
Gets the policy details.
Declaration
IEnumerable<TaskPolicyDetailEntity> GetPolicyDetails(int staffId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | staffId | The staff identifier. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TaskPolicyDetailEntity> |
GetTemplateDetail(Int32, Int32)
Gets the template detail.
Declaration
TaskPolicyDetailEntity GetTemplateDetail(int userId, int taskNameId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | userId | The user identifier. |
System.Int32 | taskNameId | The task name identifier. |
Returns
Type | Description |
---|---|
TaskPolicyDetailEntity |