Files
Backend-Api/CompanyManagment.App.Contracts/WorkingHours/IWorkingHoursApplication.cs
2024-07-05 21:36:15 +03:30

19 lines
750 B
C#

using System.Collections.Generic;
using _0_Framework.Application;
using CompanyManagment.App.Contracts.WorkingHoursTemp;
using System.Threading.Tasks;
namespace CompanyManagment.App.Contracts.WorkingHours;
public interface IWorkingHoursApplication
{
OperationResult Create(CreateWorkingHours command);
OperationResult CreateNew(CreateWorkingHoursTemp command);
Task<OperationResult> CreateNewAsync(CreateWorkingHoursTemp command);
OperationResult Edit(EditWorkingHours command);
EditWorkingHours GetDetails(long id);
List<WorkingHoursViewModel> GetWorkingHours();
WorkingHoursViewModel GetByContractId(long id);
void removeWorkingHours(long id);
System.Threading.Tasks.Task removeWorkingHoursAsync(long id);
}