Files
monorepo/LCU.API.Operations.IncentiveAPI/LCU.API.Internal.Operations.IncentiveApi/Services/IGoalService.cs
T
2026-03-17 09:53:09 -05:00

20 lines
1.1 KiB
C#

using LCU.API.Internal.Operations.IncentiveApi.Models;
using LCU.Library.Internal.IncentiveApiModels.Common;
using LCU.Library.Internal.IncentiveApiModels.Entities;
using LCU.Library.Internal.IncentiveApiModels.Requests;
namespace LCU.API.Internal.Operations.IncentiveApi.Services;
public interface IGoalService
{
Task<List<Goal>> SaveGoalAsync(GoalChange goalChange);
Task<DepartmentGoals> GetAnnualDepartmentGoalsAsync(int departmentId, int year);
Task<IReadOnlyCollection<DepartmentGoals>> GetAllAnnualDepartmentGoalsAsync( int year);
Task<PersonnelGoals> GetMonthlyPersonnelGoalsAsync(DepartmentPersonnelSearchRequest searchRequest);
Task<IReadOnlyCollection<Goal>> GetGoalsAsync(GoalSearchRequest goalSearchRequest);
Task<IReadOnlyCollection<GoalChange>> GetGoalChangesAsync();
Task<List<Goal>> SaveGoalRangeAsync(List<GoalChange> goalChanges);
Task<EmployeeGoals> GetEmployeeGoalsForMonthRangeAsync(AppUser employee, MonthRange range);
Task<IReadOnlyCollection<DepartmentGoalsForRange>> GetEmployeeDepartmentsGoalsForMonthRangeAsync(AppUser employee, MonthRange monthRange);
}