2023-12-20 08:41:50 +00:00
|
|
|
package kindboxreqservice
|
2023-12-20 08:27:13 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
param "git.gocasts.ir/ebhomengo/niki/param/kind_box_req"
|
2023-12-22 21:25:16 +00:00
|
|
|
// richerror "git.gocasts.ir/ebhomengo/niki/pkg/rich_error".
|
2023-12-20 08:27:13 +00:00
|
|
|
)
|
|
|
|
|
2023-12-22 21:25:16 +00:00
|
|
|
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")
|
2023-12-20 08:27:13 +00:00
|
|
|
}
|