public ActionResult Delete(long boardId, string id) { try { _service.DeleteColumn(boardId, id); return(Ok()); } catch (NotFoundException ex) { return(BadRequest(ex)); } }
public void DeleteColumn(long boardId, string id) { _columnService.DeleteColumn(boardId, id); }
public ResponseResult <bool> DeleteColumn(dynamic[] ids) { return(_service.DeleteColumn(ids)); }
public string Delete(int id) { _service.DeleteColumn(id); return(StatusResponse.TrueResponse()); }