private void AddRequest(string url, HttpMethod method, object parameters, byte[] file, bool later) { RequestItem item = new RequestItem() { Url = url, Method = method, ParameterObject = parameters, File = file, SendLater = later }; database.SaveItem(item); }
private void DeleteRequest(RequestItem item) { database.Delete(item); }