Interface IPayrunJobService
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IPayrunJobService : ICrudService<IPayrunJob, TenantServiceContext, Query>, ICreateService<IPayrunJob, TenantServiceContext, Query>, IReadService<IPayrunJob, TenantServiceContext, Query>, IAttributeService<TenantServiceContext>
Methods
ChangeJobStatusAsync(TenantServiceContext, int, PayrunJobStatus, int, string, bool)
Declaration
Task ChangeJobStatusAsync(TenantServiceContext context, int payrunJobId, PayrunJobStatus jobStatus, int userId, string reason, bool patchMode)
Parameters
Returns
GetAsync<T>(TenantServiceContext, string)
Declaration
Task<T> GetAsync<T>(TenantServiceContext context, string name) where T : class, IPayrunJob
Parameters
Returns
Type Parameters
GetJobStatusAsync(TenantServiceContext, int)
Declaration
Task<string> GetJobStatusAsync(TenantServiceContext context, int payrunJobId)
Parameters
Returns
PreviewJobAsync<T>(TenantServiceContext, PayrunJobInvocation)
Declaration
Task<T> PreviewJobAsync<T>(TenantServiceContext context, PayrunJobInvocation jobInvocation) where T : class, IPayrollResultSet
Parameters
Returns
Type Parameters
QueryEmployeePayrunJobsAsync<T>(TenantServiceContext, int, Query)
Declaration
Task<List<T>> QueryEmployeePayrunJobsAsync<T>(TenantServiceContext context, int employeeId, Query query = null) where T : class, IPayrunJob
Parameters
Returns
Type Parameters
QueryEmployeePayrunJobsCountAsync(TenantServiceContext, int, Query)
Declaration
Task<long> QueryEmployeePayrunJobsCountAsync(TenantServiceContext context, int employeeId, Query query = null)
Parameters
Returns
QueryEmployeePayrunJobsCountAsync<T>(TenantServiceContext, int, Query)
Declaration
Task<QueryResult<T>> QueryEmployeePayrunJobsCountAsync<T>(TenantServiceContext context, int employeeId, Query query = null) where T : class, IPayrunJob
Parameters
Returns
Type Parameters
StartJobAsync<T>(TenantServiceContext, PayrunJobInvocation)
Declaration
Task<T> StartJobAsync<T>(TenantServiceContext context, PayrunJobInvocation jobInvocation) where T : class, IPayrunJob
Parameters
Returns
Type Parameters
Extension Methods