﻿using Lms.Domain.Models.Courses;
using Lms.Domain.Models.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lms.Domain.Services.Courses
{
    public interface ISessionService
    {
        Session GetSessionById(string companyId, string sessionId);

        void CreateSession(string companyId, string courseId, string sessionName, string description, string cost,
            string sessionStartDate, string sessionEndDate, string enrollmentStartDate, string enrollmentEndDate);

        void EditSession(string companyId, string sessionId, string sessionName, string description, string cost,
            string sessionStartDate, string sessionEndDate, string enrollmentStartDate, string enrollmentEndDate);

        void DeleteSession(string companyId, string updaterId, string sessionId);

        IEnumerable<Session> LoadNewSessions(string companyId, UserTypeEnum userType);

        void WithdrawEnrollment(string enrollmentId, string userId);

        
    }
}
