Interface ICalendarService
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface ICalendarService : ICrudService<ICalendar, TenantServiceContext, Query>, ICreateService<ICalendar, TenantServiceContext, Query>, IReadService<ICalendar, TenantServiceContext, Query>
Methods
CalculateValueAsync(int, decimal, string, string, DateTime?, DateTime?)
Declaration
Task<decimal?> CalculateValueAsync(int tenantId, decimal value, string cultureName = null, string calendarName = null, DateTime? evaluationDate = null, DateTime? evaluationPeriodDate = null)
Parameters
Returns
GetAsync<T>(TenantServiceContext, string)
Declaration
Task<T> GetAsync<T>(TenantServiceContext context, string name) where T : class, ICalendar
Parameters
Returns
Type Parameters
GetCycleAsync(int, string, string, DateTime?, int?)
Declaration
Task<DatePeriod> GetCycleAsync(int tenantId, string cultureName = null, string calendarName = null, DateTime? cycleMoment = null, int? offset = null)
Parameters
Returns
GetPeriodAsync(int, string, string, DateTime?, int?)
Declaration
Task<DatePeriod> GetPeriodAsync(int tenantId, string cultureName = null, string calendarName = null, DateTime? periodMoment = null, int? offset = null)
Parameters
Returns
Extension Methods