(ctx *gin.Context, serviceId string, dto *router_dto.Create)
| 29 | } |
| 30 | |
| 31 | func (i *imlAPIController) Create(ctx *gin.Context, serviceId string, dto *router_dto.Create) (*router_dto.SimpleDetail, error) { |
| 32 | return i.module.Create(ctx, serviceId, dto) |
| 33 | } |
| 34 | |
| 35 | func (i *imlAPIController) Edit(ctx *gin.Context, serviceId string, apiId string, dto *router_dto.Edit) (*router_dto.SimpleDetail, error) { |
| 36 | return i.module.Edit(ctx, serviceId, apiId, dto) |