19 lines
751 B
C#
19 lines
751 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using _0_Framework.Application;
|
|
|
|
namespace CompanyManagment.App.Contracts.Job;
|
|
|
|
public interface IJobApplication
|
|
{
|
|
OperationResult Create(CreateJob command);
|
|
OperationResult Edit(EditJob command);
|
|
EditJob GetDetails(long id);
|
|
List<JobViewModel> GetJob();
|
|
List<JobViewModel> Search(JobSearchModel searchModel);
|
|
List<JobViewModel> SearchJobForMain(JobSearchModel searchModel);
|
|
//Task<List<JobViewModel>> GetJobListByText(string searchtText);
|
|
List<JobViewModel> GetJobListByText(string searchtText);
|
|
List<JobViewModel> GetJobListByWorkshopId(long workshopId);
|
|
List<JobViewModel> GetJobListByTextAndWorkshopId(string textSearch, long workshopId);
|
|
} |