Skip to content

Commit 2500281

Browse files
committed
Add @Read.description("Find Bookings")
1 parent 793f345 commit 2500281

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

MyApp.ServiceModel/Bookings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace MyApp.ServiceModel;
1313
[Route("/bookings/{Id}","GET")]
1414
[Route("/bookings","GET")]
1515
[AutoApply(Behavior.AuditQuery)]
16+
[Description("Find Bookings")]
1617
[ValidateHasRole("Employee")]
1718
public class QueryBookings : QueryDb<Booking>
1819
{

MyApp.ServiceModel/Bookings.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export enum RoomType {
1616

1717
@Read.route("/bookings","GET")
1818
@Read.route("/bookings/{Id}","GET")
19+
@Read.description("Find Bookings")
1920
@Create.route("/bookings","POST")
2021
@Create.description("Create a new Booking")
2122
@Update.notes("Find out how to quickly create a <a class='svg-external' target='_blank' href='https://youtu.be/nhc4MZufkcM'>C# Bookings App from Scratch</a>")

0 commit comments

Comments
 (0)