public async Task <ActionResult> RemoveEmail([FromBody] SingleString val)
        {
            await _banService.RemoveEmailBan(val.String);

            return(NoContent());
        }
 public RedirectToRouteResult RemoveEmailBan(string email)
 {
     _banService.RemoveEmailBan(email);
     return(RedirectToAction("Ban"));
 }
Пример #3
0
 public ActionResult RemoveEmail([FromBody] SingleString val)
 {
     _banService.RemoveEmailBan(val.String);
     return(NoContent());
 }