public IActionResult Delete(long id)
 {
     try
     {
         _inviteService.Delete(id);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }