niki/service/kind_box_req/update.go

17 lines
619 B
Go
Raw Normal View History

package kindboxreqservice
import (
param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"
// richerror "git.gocasts.ir/ebhomengo/niki/pkg/rich_error".
)
func (s Service) Update(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")
}