예제 #1
0
 public IActionResult DeleteServiceInfos([FromQuery] params string[] name)
 {
     if (name.Count(x => !string.IsNullOrWhiteSpace(x)) == 0)
     {
         return(BadRequest("缺少参数"));
     }
     else
     {
         _layoutService.RemoveServiceInfosFor(name);
         return(Ok());
     }
 }