public async Task <IHttpActionResult> GetOptions(Guid productId) { var response = await _productOptionService.GetAllByProductId(productId); if (!response.IsSuccess) { return(BadRequest(response.FailureReason)); } return(Ok(response.Result)); }