23 lines
911 B
C#
23 lines
911 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using _0_Framework.Application;
|
|
|
|
namespace CompanyManagment.App.Contracts.RollCallService;
|
|
|
|
public interface IRollCallServiceApplication
|
|
{
|
|
OperationResult Create(CreateRollCallService command);
|
|
OperationResult Upgrade(EditRollCallService command);
|
|
OperationResult StopVipService(long serviceId);
|
|
OperationResult AddCustomizeCheckoutServiceVip(long serviceId);
|
|
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);
|
|
} |