public async Task <IActionResult> Remove([FromRoute] string userId, [FromRoute] long attributeId) { Result result = await _userAttributeService.Remove(userId, attributeId); if (result.Failure) { ModelState.AddErrors(result); return(BadRequest(ModelState)); } return(Ok(new EmptyResult())); }