public async Task <IActionResult> GetOptions(Guid productId) { try { var productOptions = await _productOptionService.GetProductOptionsByProductIdAsync(productId); return(Ok(productOptions)); } catch (Exception e) { Log.Error(e, ExceptionTemplates.UnknownError); return(StatusCode(500)); } }