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"));
 }
Пример #3
0
 public ActionResult RemoveIP([FromBody] SingleString val)
 {
     _banService.RemoveIPBan(val.String);
     return(NoContent());
 }