public async Task <bool> UpdateJob_Sql(Job_SqlInputDto input) { var entity = await _Job_SqlManager.GetJob_SqlByIdAsync(input.Id); input.MapTo(entity); return(await _Job_SqlManager.UpdateJob_SqlAsync(entity)); }
public async Task <bool> CreateJob_Sql(Job_SqlInputDto input) { var entity = input.MapTo <Job_Sql>(); return(await _Job_SqlManager.CreateJob_SqlAsync(entity)); }