/// <summary>
        /// Adds the specified workflow template element result.
        /// </summary>
        /// <param name="workflowTemplateElementResult">The workflow template element result.</param>
        /// <returns></returns>
        public tbl_WorkflowTemplateElementResult Add(tbl_WorkflowTemplateElementResult workflowTemplateElementResult)
        {
            if (workflowTemplateElementResult.ID == Guid.Empty)
            {
                workflowTemplateElementResult.ID = Guid.NewGuid();
            }
            _dataContext.tbl_WorkflowTemplateElementResult.AddObject(workflowTemplateElementResult);
            _dataContext.SaveChanges();

            return(workflowTemplateElementResult);
        }
 /// <summary>
 /// Updates the specified workflow template element result.
 /// </summary>
 /// <param name="workflowTemplateElementResult">The workflow template element result.</param>
 public void Update(tbl_WorkflowTemplateElementResult workflowTemplateElementResult)
 {
     _dataContext.SaveChanges();
 }