示例#1
0
        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);
        }
示例#2
0
 private void DeleteRequest(RequestItem item)
 {
     database.Delete(item);
 }