예제 #1
0
        public response Delete(int _ID_DOSAR)
        {
            response    toReturn = new response(false, "", null, null, new List <Error>());
            DosarProces dp       = new DosarProces(authenticatedUserId, connectionString);

            dp.ID_DOSAR  = _ID_DOSAR;
            dp.ID_PROCES = Convert.ToInt32(this.ID);
            toReturn     = dp.Delete();
            if (toReturn.Status)
            {
                toReturn = Delete();
            }
            return(toReturn);
        }
 public response Delete(DosarProces item)
 {
     return(item.Delete());
 }