public async Task <IActionResult> Put([FromBody] InputMapping data) { return(await ValidateEditInputMapping(data) .MapT(async d => { await _inputMappingRepository.UpdateAsync(d); return d; }) .ToActionResultAsync()); }
public async Task <IActionResult> Put([FromBody] MapperSourceText data) { return(await ValidateEditMapperSourceText(data) .MapT(async d => { await _mapperSourceTextRepository.UpdateAsync(d); return d; }) .ToActionResultAsync()); }