Esempio n. 1
0
        public void RemoveLiveWatchTestOk()
        {
            var request = new RemoveLiveWatchDocRequest()
            {
                DocId  = "3F558898BEDE55D2F6F2C454AA6D2774",
                UserId = "*****@*****.**"
            };
            var ret = _dal.RemoveLiveWatchDoc(request);

            Assert.AreEqual(1, ret.Tables.Count);
        }
 public Response RemoveLiveWatchDoc(RemoveLiveWatchDocRequest request)
 {
     try
     {
         _dal.RemoveLiveWatchDoc(request);
         RemoveLiveWatchDocResponseOk ret = new RemoveLiveWatchDocResponseOk();
         return(ret);
     }
     catch (Exception ex)
     {
         return(new AppResponseError(ex.Message));
     }
 }