first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
namespace Fitness_core_BE.Interfaces.Services
|
||||
{
|
||||
public interface IStaffService
|
||||
{
|
||||
Task<object> GetAllStaff(object payload, HttpContext httpContext);
|
||||
Task<object> GetStaffById(object payload, HttpContext httpContext);
|
||||
Task<object> GetStaffByClientId(object payload, HttpContext httpContext);
|
||||
Task<object> CreateStaff(object payload, HttpContext httpContext);
|
||||
Task<object> UpdateStaff(object payload, HttpContext httpContext);
|
||||
Task<object> DeleteStaff(object payload, HttpContext httpContext);
|
||||
|
||||
// Basic HRM/payroll (req 5).
|
||||
Task<object> GetPayRate(Guid staffId, HttpContext httpContext);
|
||||
Task<object> UpsertPayRate(Guid staffId, string rateType, decimal amount, HttpContext httpContext);
|
||||
Task<object> GetPayments(Guid staffId, HttpContext httpContext);
|
||||
Task<object> RecordPayment(Guid staffId, decimal amount, string? note, HttpContext httpContext);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user