PIbd21.LyovushkinaA.A.SUBD..../ExamTimetable/ExamTimetable_Database/Abstractions.cs

47 lines
1.8 KiB
C#
Raw Permalink Normal View History

2024-03-27 16:18:02 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExamTimetable_Database
{
public abstract class Abstractions
{
//university
public abstract void AddUniversity(University university);
public abstract List<University> GetUniversities();
public abstract University GetUniversityById(int id);
public abstract void UpdateUniversity(University university);
public abstract void DeleteUniversity(int id);
//Faculty
public abstract void AddFaculty(Faculty faculty);
public abstract List<Faculty> GetFaculties();
public abstract Faculty GetFacultyById(int id);
public abstract void UpdateFaculty(Faculty faculty);
public abstract void DeleteFaculty(int id);
//Specialization
public abstract void AddSpecialization(Specialization specialization);
public abstract List<Specialization> GetSpecializations();
public abstract Specialization GetSpecializationById(int id);
public abstract void UpdateSpecialization(Specialization specialization);
public abstract void DeleteSpecialization(int id);
//Comission
public abstract void AddComission(Comission comission);
public abstract List<Comission> GetComissions();
public abstract Comission GetComissionById(int id);
public abstract void UpdateComission(Comission comission);
public abstract void DeleteComission(int id);
//Exam
public abstract void AddExam(Exam exam);
public abstract List<Exam> GetExams();
public abstract Exam GetExamById(int id);
public abstract void UpdateExam(Exam exam);
public abstract void DeleteExam(int id);
}
}