using KeyPay.DomainModels.V2.Business;
using KeyPay.DomainModels.V2.Manager;
using System.Collections.Generic;

namespace KeyPay.ApiFunctions.V2
{
    public class ManagerFunction : BaseFunction
    {
        public ManagerFunction(ApiRequestExecutor api) : base(api)
        {
            LeaveRequests = new ManagerLeaveRequestsFunction(api);
            Kiosk = new ManagerKioskFunction(api);
            TimeAndAttendance = new ManagerTimeAndAttendanceFunction(api);
        }

        public ManagerLeaveRequestsFunction LeaveRequests { get; set; }

        public List<ManagerLeaveEmployeeModel> Employees(int businessId)
        {
            return ApiRequest<List<ManagerLeaveEmployeeModel>>($"/business/{businessId}/manager/employees");
        }

        public List<LocationModel> Locations(int businessId)
        {
            return ApiRequest<List<LocationModel>>($"/business/{businessId}/manager/locations");
        }
        public ManagerKioskFunction Kiosk { get; set; }
        public ManagerTimeAndAttendanceFunction TimeAndAttendance { get; set; }
    }
}
using KeyPay.DomainModels.V2.Business;
using KeyPay.DomainModels.V2.Manager;
using System.Collections.Generic;

namespace KeyPay.ApiFunctions.V2
{
    public class ManagerFunction : BaseFunction
    {
        public ManagerFunction(ApiRequestExecutor api) : base(api)
        {
            LeaveRequests = new ManagerLeaveRequestsFunction(api);
            Kiosk = new ManagerKioskFunction(api);
            TimeAndAttendance = new ManagerTimeAndAttendanceFunction(api);
        }

        public ManagerLeaveRequestsFunction LeaveRequests { get; set; }
        public ManagerKioskFunction Kiosk { get; set; }
        public ManagerTimeAndAttendanceFunction TimeAndAttendance { get; set; }

        public List<ManagerLeaveEmployeeModel> Employees(int businessId)
        {
            return ApiRequest<List<ManagerLeaveEmployeeModel>>($"/business/{businessId}/manager/employees");
        }

        public List<LocationModel> Locations(int businessId)
        {
            return ApiRequest<List<LocationModel>>($"/business/{businessId}/manager/locations");
        }
    }
}
Include manager leave request functions and update to version 1.1.0.15-rc2
Include manager leave request functions and update to version 1.1.0.15-rc2
