Files
Backend-Api/Company.Domain/RollCallServiceAgg/IRollCallServiceRepository.cs
2025-03-09 21:52:06 +03:30

21 lines
750 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _0_Framework.Domain;
using CompanyManagment.App.Contracts.RollCallService;
namespace Company.Domain.RollCallServiceAgg;
public interface IRollCallServiceRepository : IRepository<long, RollCallService>
{
EditRollCallService GetDetails(long id);
RollCallServiceViewModel GetActiveServiceByWorkshopId(long workshopId);
List<RollCallServiceViewModel> GetAllServiceByWorkshopId(long workshopId);
List<RollCallServiceViewModel> GetActiveServiceByAccountId(long accountId);
List<RollCallServiceViewModel> GetAllServiceByAccountId(long accountId);
bool IsExistActiveServiceByWorkshopId(long workshopId);
}