public async Task <bool> UpdateJob_RPTEmail(Job_RPTEmailInputDto input) { var entity = await _Job_RPTEmailManager.GetJob_RPTEmailByIdAsync(input.Id); input.MapTo(entity); return(await _Job_RPTEmailManager.UpdateJob_RPTEmailAsync(entity)); }
public async Task <bool> CreateJob_RPTEmail(Job_RPTEmailInputDto input) { var entity = input.MapTo <Job_RPTEmail>(); return(await _Job_RPTEmailManager.CreateJob_RPTEmailAsync(entity)); }