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