private void SaveTaskXDeliverableArtifact(int taskId, int deliverableArtifactId, int statuslId) { //Components.BusinessLayer.TaskXDeliverableArtifact.DeleteByTask(taskId, AuditId); var data = new TaskXDeliverableArtifactDataModel(); data.TaskId = taskId; data.DeliverableArtifactId = deliverableArtifactId; data.DeliverableArtifactStatusId = statuslId; TaskXDeliverableArtifactDataManager.Create(data, SessionVariables.RequestProfile); }
protected void InsertData() { var data = new TaskXDeliverableArtifactDataModel(); data.TaskXDeliverableArtifactId = myGenericControl.TaskXDeliverableArtifactId; data.TaskId = myGenericControl.TaskId; data.DeliverableArtifactStatusId = myGenericControl.DeliverableArtifactStatusId; data.DeliverableArtifactId = myGenericControl.DeliverableArtifactsId; TaskXDeliverableArtifactDataManager.Create(data, SessionVariables.RequestProfile); }