示例#1
0
        public async Task <IActionResult> GetReviewByUserEmail(string Email)
        {
            try
            {
                dynamic data = await _review.GetReviewByUserEmail(Email);

                if (data.Success == false)
                {
                    return(NotFound(data));
                }
                return(Ok(data));
            }
            catch (Exception ex)
            {
                throw;
            }
        }