public ActionResult AdminRejectTask([FromBody] TaskRejectionModel reject) { var Rs = service.AdminRejectTask(reject); if (Rs.status == false) { return(BadRequest(Rs)); } return(Ok(Rs)); }