public NoticeDisableResponse Disable([FromBody] NoticeDisableRequest request) { NoticeDisableResponse response = new NoticeDisableResponse(); if (request == null) { response.Status = -1; return(response); } noticeRepository.Disable(request.Id); response.Status = 1; return(response); }