using ASPMVCNETCRUD.Models;namespace ASPMVCNETCRUD.Repository{ public interface IEmployeeRepository { Task<IEnumerable<EmployeeDetails>> GetEmployeeRecords(); Task<EmployeeDetails?> GetEmployeeDetails(int id); Task<bool> EditEmployeeDetails(Employee Employee); Task<bool> CreateNewEmployee(Employee employee); Task<bool> DeleteEmployee(int? id); Task<Employee?> edit_GetEmployeeDetails(int? id); }}
EmployeeRepository