public void Add(Capture capture)
 {
     using (var con = OpenConnection())
     {
         var sql = string.Format(@"INSERT INTO [{0}] ([Bytes], [CreationDate]) VALUES (@Bytes, @CreationDate)", Table);
         con.Query(sql, capture);
     }
 }
        public void Add(string bytes)
        {
            Ensure.NotNullOrEmpty(bytes);

            var capture = new Capture { Bytes = bytes.GetBytes(), CreationDate = DateTime.Now };

            _repository.Add(capture);
        }