Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 public async Task <IActionResult> Update(PartnersDto input)
 {
     return(Ok(await _PartnersService.Update(input)));
 }