Files
Backend-Api/Company.Domain/File1/IFileRepository.cs
2025-04-14 20:24:55 +03:30

28 lines
810 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using _0_Framework_b.Domain;
using CompanyManagment.App.Contracts.Employee;
using CompanyManagment.App.Contracts.Employer;
using CompanyManagment.App.Contracts.File1;
namespace Company.Domain.File1;
public interface IFileRepository : IRepository<long, File1>
{
EditFile GetDetails(long id);
List<FileViewModel> Search(FileSearchModel searchModel);
long FindLastArchiveNumber();
string GetEmployeeFullNameById(long id);
string GetEmployerFullNameById(long id);
List<EmployeeViewModel> GetAllEmploees();
List<EmployerViewModel> GetAllEmployers();
#region Mahan
Task<List<FileExcelViewModel>> GetExcelDetails();
Task<List<FileListViewModel>> GetList(GetFileSearchModel searchModel);
#endregion
}