public async Task <ActionResult> RemoveIP([FromBody] SingleString val) { await _banService.RemoveIPBan(val.String); return(NoContent()); }
public RedirectToRouteResult RemoveIPBan(string ip) { _banService.RemoveIPBan(ip); return(RedirectToAction("Ban")); }
public ActionResult RemoveIP([FromBody] SingleString val) { _banService.RemoveIPBan(val.String); return(NoContent()); }