public async Task <ActionResult <Partner> > Put([FromForm] int key, [FromForm] string values) { var request = new ValuesUpdateRequest { Key = key, Values = values }; return(await _partnersService.Update(request).Convert <Partner>(this)); }
public async Task <IActionResult> Update(PartnersDto input) { return(Ok(await _PartnersService.Update(input))); }