示例#1
0
 public ActionResult FindTaskList([FromBody] RequestId requestId)
 {
     try
     {
         if (!ModelState.IsValid)
         {
             return(BadRequest(ModelState));
         }
         return(Ok(_numberService.BinaryGap(requestId.Id)));
     }
     catch (Exception)
     {
         return(BadRequest());
     }
 }