2023-12-25 17:08:19 +00:00
|
|
|
package adminkindboxreqservice
|
|
|
|
|
2024-01-22 08:14:57 +00:00
|
|
|
//
|
|
|
|
// import (
|
|
|
|
// "context"
|
|
|
|
//
|
|
|
|
// param "git.gocasts.ir/ebhomengo/niki/param/admin/kind_box_req"
|
|
|
|
// richerror "git.gocasts.ir/ebhomengo/niki/pkg/rich_error"
|
|
|
|
//)
|
|
|
|
//
|
|
|
|
// func (s Service) Delete(ctx context.Context, req param.KindBoxReqDeleteRequest) (param.KindBoxReqDeleteResponse, error) {
|
|
|
|
// // TODO: Does business domain need to delete an kindboxreq ?
|
|
|
|
// const op = "adminkindboxreqservice.Delete"
|
|
|
|
//
|
|
|
|
// dErr := s.repo.DeleteKindBoxReq(ctx, req.KindBoxReqID)
|
|
|
|
// if dErr != nil {
|
|
|
|
// return param.KindBoxReqDeleteResponse{}, richerror.New(op).WithErr(dErr).WithKind(richerror.KindUnexpected)
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// return param.KindBoxReqDeleteResponse{}, nil
|
|
|
|
//}
|