niki/service/kind_box_req/update.go

18 lines
590 B
Go

package kindboxreqservice
import (
"context"
param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"
)
func (s Service) Update(ctx context.Context, req param.KindBoxReqUpdateRequest) (param.KindBoxReqUpdateResponse, error) {
// const op = "kindboxreqservice.Update"
// kindBoxReq, err := s.repo.EditKindBoxReq(req.KindBoxReq.ID, req.KindBoxReq)
// if err != nil {
// return param.KindBoxReqUpdateResponse{}, richerror.New(op).WithErr(err).WithKind(richerror.KindUnexpected)
// }
// return param.KindBoxReqUpdateResponse{KindBoxReq: kindBoxReq}, nil
panic("not implemented")
}