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