Files
Backend-Api/Company.Domain/EmployeeBankInformationAgg/IEmployeeBankInformationRepository.cs
2025-02-09 20:36:53 +03:30

25 lines
1.1 KiB
C#

using _0_Framework.Domain;
using CompanyManagment.App.Contracts.EmployeeBankInformation;
using System.Collections.Generic;
namespace Company.Domain.EmployeeBankInformationAgg
{
public interface IEmployeeBankInformationRepository : IRepository<long, EmployeeBankInformation>
{
void AddRange(IEnumerable<EmployeeBankInformation> entities);
void Remove(EmployeeBankInformation bankInformation);
void RemoveRange(List<EmployeeBankInformation> entities);
List<GroupedEmployeeBankInformationViewModel> Search(long workshopId, EmployeeBankInformationSearchModel searchParams);
GroupedEmployeeBankInformationViewModel GetByEmployeeId(long workshopId, long employeeId);
List<EmployeeBankInformation> GetRangeByEmployeeId(long workshopId, long employeeId);
EmployeeBankInformationViewModel GetDetails(long id);
List<GroupedEmployeeBankInformationViewModel> GetAllByWorkshopId(long workshopId);
List<EmployeeBankInformationViewModelForExcel> SearchForExcel(long workshopId, EmployeeBankInformationSearchModel searchParams);
}
}