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"));
 }
Exemplo n.º 3
0
 public ActionResult RemoveIP([FromBody] SingleString val)
 {
     _banService.RemoveIPBan(val.String);
     return(NoContent());
 }