Skip to content

Commit

Permalink
add review endpoint get reviews and add new one
Browse files Browse the repository at this point in the history
  • Loading branch information
ID-JA committed Aug 7, 2021
1 parent bdc2e04 commit eacdc64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BACK_END/Controllers/ReviewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ public async Task<IActionResult> AddReview([FromBody] ReviewForAddDTO reviewForA
return BadRequest("Something isn't valid pelase try again !!!");
}

/// <summary>
/// Get All Reviews
/// </summary>
/// <returns></returns>

[HttpGet("all")]
[Authorize]
public async Task<IActionResult> GetReviews()
Expand Down

0 comments on commit eacdc64

Please sign in to comment.