Ejemplo n.º 1
0
        private void RemoveByStatus(int statusId)
        {
            var data = new TaskXDeliverableArtifactDataModel();

            data.DeliverableArtifactStatusId = statusId;
            TaskXDeliverableArtifactDataManager.Delete(data, SessionVariables.RequestProfile);
        }
Ejemplo n.º 2
0
 protected void btnDelete_Click(object sender, EventArgs e)
 {
     try
     {
         string[] deleteIndexList = DeleteIds.Split(',');
         foreach (string index in deleteIndexList)
         {
             var data = new TaskXDeliverableArtifactDataModel();
             data.TaskXDeliverableArtifactId = int.Parse(index);
             TaskXDeliverableArtifactDataManager.Delete(data, SessionVariables.RequestProfile);
         }
         DeleteAndRedirect();
     }
     catch (Exception ex)
     {
         Response.Write(ex.Message);
     }
 }