Files
VizhTalk/VizhTalk.Services.Grpc.Learning/Proto/Courses/Services.proto
T
2025-09-08 23:07:25 +04:30

22 lines
553 B
Protocol Buffer

syntax="proto3";
option csharp_namespace="VizhTalk.Grpc.Learning.Course";
package greet;
import "Proto/Courses/DTOs.proto";
import "Proto/Courses/Queries.proto";
import "Proto/Courses/Commands.proto";
import "Proto/Shared.proto";
service CourseGrpc {
rpc Create (CreateCourseCommand) returns (CourseDTO);
rpc Update (UpdateCourseCommand) returns (CourseDTO);
rpc GetAll (GetAllCourseQuery) returns (GetAllCourseDTO);
rpc GetByTitle (GetCourseByTitleQuery) returns (CourseDTO);
rpc GetById (GetCourseByIdQuery) returns (CourseDTO);
}