public void Execute() { while (true) { WishListLetterRequest request = _provider.Create(); _santaPostOffice.Send(request); } }
public bool Send(WishListLetterRequest request) { try { _client.Post(request); Stats(); return(true); } catch (Exception e) { Logger.Warn(e); return(false); } }