21 lines
750 B
C#
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);
|
|
} |