24 lines
991 B
Go
24 lines
991 B
Go
package controller
|
|
|
|
import (
|
|
"context"
|
|
"micro-bundle/internal/logic"
|
|
"micro-bundle/pb/bundle"
|
|
)
|
|
|
|
func (b *BundleProvider) SendQuestionnaireSurvey(_ context.Context, req *bundle.SendQuestionnaireSurveyRequest) (*bundle.SendQuestionnaireSurveyResponse, error) {
|
|
return logic.SendQuestionnaireSurvey(req)
|
|
}
|
|
|
|
func (b *BundleProvider) GetQuestionnaireSurveyInfo(_ context.Context, req *bundle.GetQuestionnaireSurveyInfoRequest) (*bundle.GetQuestionnaireSurveyInfoResponse, error) {
|
|
return logic.GetQuestionnaireSurveyInfo(req)
|
|
}
|
|
|
|
func (b *BundleProvider) CreateQuestionnaireSurveyAnswer(_ context.Context, req *bundle.CreateQuestionnaireSurveyAnswerRequest) (*bundle.CreateQuestionnaireSurveyAnswerResponse, error) {
|
|
return logic.CreateQuestionnaireSurveyAnswer(req)
|
|
}
|
|
|
|
func (b *BundleProvider) GetQuestionnaireSurveyList(_ context.Context, req *bundle.GetQuestionnaireSurveyListRequest) (*bundle.GetQuestionnaireSurveyListResponse, error) {
|
|
return logic.GetQuestionnaireSurveyList(req)
|
|
}
|