21 lines
523 B
Protocol Buffer
21 lines
523 B
Protocol Buffer
syntax="proto3";
|
|
|
|
option csharp_namespace="VizhTalk.Grpc.Learning.Language";
|
|
|
|
package greet;
|
|
|
|
import "Proto/Languages/DTOs.proto";
|
|
import "Proto/Languages/Queries.proto";
|
|
import "Proto/Languages/Commands.proto";
|
|
import "Proto/Shared.proto";
|
|
|
|
|
|
|
|
|
|
|
|
service LanguageGrpc {
|
|
rpc Create (CreateLanguageCommand) returns (LanguageDTO);
|
|
rpc Update (UpdateLanguageCommand) returns (LanguageDTO);
|
|
rpc GetAll (GetAllLanguageQuery) returns (GetAllLanguageDTO);
|
|
rpc GetByTitle (GetLanguageByTitleQuery) returns (LanguageDTO);
|
|
} |