using System.Threading.Tasks;
using Znyc.Recruitment.Admin.Commons.Entitys;
using Znyc.Recruitment.Admin.Commons.IServices;
using Znyc.Recruitment.Admin.Commons.Pages;
using Znyc.Recruitment.Admin.Security.Dtos;
using Znyc.Recruitment.Admin.Security.Entitys;
namespace Znyc.Recruitment.Admin.Security.IServices
{
///
///
public interface IRecruitmentService : IService
{
///
/// 根据条件查询数据库,并返回对象集合(用于分页数据显示)
///
/// 查询的条件
/// 指定对象的集合
Task> FindWithPagerSearchAsync(SearchRecruitmentModel search);
///
/// 异步新增数据
///
///
///
Task InsertAsync(RecruitmentEntity intput);
///
/// 异步修改数据
///
///
///
Task UpdateAsync(RecruitmentEntity tinfo);
///
///
///
///
///
Task GetById(long id);
///
/// 下架招聘信息
///
///
///
///
Task RevocationAsync(long id, long userId);
}
}