2024-01-02 14:04:16 +00:00
|
|
|
package benefactorkindboxreqservice
|
2023-12-20 08:27:13 +00:00
|
|
|
|
2024-01-16 16:13:06 +00:00
|
|
|
//// TODO: Pagination, Filters, Sort.
|
|
|
|
// func (s Service) GetAll(ctx context.Context, req param.KindBoxReqGetAllRequest) (param.KindBoxReqGetAllResponse, error) {
|
|
|
|
// const op = "userkindboxreqservice.GetAll"
|
|
|
|
//
|
|
|
|
// allKindBoxReq, err := s.repo.GetAllKindBoxReq(ctx, req.BenefactorID)
|
|
|
|
// if err != nil {
|
|
|
|
// return param.KindBoxReqGetAllResponse{}, richerror.New(op).WithErr(err).WithKind(richerror.KindUnexpected)
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// return param.KindBoxReqGetAllResponse{AllKindBoxReq: allKindBoxReq}, nil
|
|
|
|
//}
|