| | |
| | | public BoxingInfoController(IBoxingInfoService service) : base(service) |
| | | { |
| | | } |
| | | /// <summary> |
| | | /// 缁勭洏 |
| | | /// </summary> |
| | | /// <param name="groupPlate"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous] |
| | | public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate) |
| | | { |
| | | return Service.AddGroupPlateAsync(groupPlate); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 瑙g洏 |
| | | /// </summary> |
| | | /// <param name="groupPlate"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous] |
| | | public async Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate) |
| | | { |
| | | return await Service.DeleteGroupPlateAsync(groupPlate); |
| | | } |
| | | } |