public Task UpdateAsync(UpdateMaterialBindingModel bindingModel) { return(_materialRepository.UpdateAsync(_mapper.Map <Domain.Material>(bindingModel))); }
public async Task <IActionResult> Put(UpdateMaterialBindingModel bindingModel) { await _materialActor.Ask(bindingModel); return(Ok()); }