Barsukov_SUBD/DepartmentStaffView/DepartmentStaffDatabase/Abstracts.cs

57 lines
2.4 KiB
C#
Raw Permalink Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DepartmentStaffDatabase
{
public abstract class Abstracts
{
public abstract void CreateDepartment(Department department);
public abstract void UpdateDepartment(Department department);
public abstract void DeleteDepartment(int id);
public abstract Department GetDepartment(int id);
public abstract Department GetDepartment(string departmentName);
public abstract List<Department> GetDepartments();
public abstract void DeleteDepartments();
public abstract void CreatePosition(Position position);
public abstract void UpdatePosition(Position position);
public abstract void DeletePosition(int id);
public abstract Position GetPosition(int id);
public abstract Position GetPosition(string positionName);
public abstract List<Position> GetPositions();
public abstract void Deletepositions();
public abstract void CreateEmployee(Employee employee);
public abstract void UpdateEmployee(Employee employee);
public abstract void DeleteEmployee(int id);
public abstract Employee GetEmployee(int id);
public abstract Employee GetEmployee(string employeeName);
public abstract List<Employee> GetEmployees();
public abstract void DeleteEmployees();
public abstract void CreateContract(Contract contract);
public abstract void UpdateContract(Contract contract);
public abstract void DeleteContract(int id);
public abstract Contract GetContract(int id);
public abstract List<Contract> GetContracts();
public abstract void DeleteContracts();
public abstract void CreateCourse(Course course);
public abstract void UpdateCourse(Course course);
public abstract void DeleteCourse(int id);
public abstract Course GetCourse(int id);
public abstract List<Course> GetCourses();
public abstract void DeleteCourses();
2024-05-08 23:09:55 +04:00
public abstract void CreateEmployee_Course(Employee_Course employee_course);
public abstract void DeleteEmployee_Course(int empId, int courseId);
public abstract Employee_Course GetEmployee_Course(int empId, int courseId);
public abstract List<Employee_Course> GetEmployee_Courses();
public abstract void DeleteEmployee_Courses();
}
}