15 lines
851 B
C#
15 lines
851 B
C#
using LCU.Library.Internal.IncentiveApiModels.Entities;
|
|
using LCU.API.Internal.Operations.IncentiveApi.Models;
|
|
using LCU.Library.Internal.IncentiveApiModels.Common;
|
|
|
|
namespace LCU.API.Internal.Operations.IncentiveApi.Services;
|
|
|
|
public interface IDashboardService
|
|
{
|
|
Task<RegionProgress> GetRegionProgressForMonthRangeAsync(Region region, MonthRange monthRange);
|
|
Task<BusinessLineProgress> GetBusinessLineProgressForMonthRangeAsync(BusinessLine bl, MonthRange monthRange);
|
|
Task<EmployeeProgress> GetEmployeeProgressForMonthRangeAsync(AppUser employee, MonthRange monthRange);
|
|
Task<IReadOnlyCollection<DepartmentProgress>> GetDepartmentProgressForMonthRangeAsync(List<UserDepartment> userDepartments, MonthRange monthRange);
|
|
Task<DepartmentProgress> GetDepartmentProgressForMonthRangeAsync(int departmentId, MonthRange monthRange);
|
|
}
|