This commit is contained in:
Zeeshaun
2026-03-17 09:53:09 -05:00
parent cdcba54aa4
commit 1a0702a79a
590 changed files with 62058 additions and 0 deletions
@@ -0,0 +1,19 @@
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);
}