18 lines
272 B
Protocol Buffer
18 lines
272 B
Protocol Buffer
syntax="proto3";
|
|
|
|
option csharp_namespace="VizhTalk.Grpc.Learning.Course";
|
|
|
|
package greet;
|
|
|
|
import "Proto/Shared.proto";
|
|
|
|
message GetAllCourseQuery{
|
|
Pagination pagination = 1;
|
|
}
|
|
message GetCoursesByTitleQuery{
|
|
string title = 1;
|
|
}
|
|
|
|
message GetCourseByIdQuery{
|
|
Id id=1;
|
|
} |