public bool UnBanEvent([FromBody] BanUserEvent banUserEvent) { try { _banService.UnBanUserEvent(banUserEvent.UserId); return(true); } catch (Exception e) { Console.WriteLine(e); } return(false); }
public bool UnBanEvent([FromBody] BanUserEvent banUserEvent) { try { _banService.UnBanUserEvent(banUserEvent.UserId); return(true); } catch (Exception e) { Console.WriteLine(e); } return(false); }