Example #1
0
 /// <summary>
 /// Method to Get List of All WorkflowSetup
 /// </summary>
 /// <param name="argEn">WorkflowSetup Entity is an Input.</param>
 /// <returns>Returns List of RoomType</returns>
 public List <WorkflowSetupEn> GetWorkflowSetupTypelistall(WorkflowSetupEn argEn)
 {
     try
     {
         WorkflowSetupDAL loDs = new WorkflowSetupDAL();
         return(loDs.GetWorkflowSetupTypelistall(argEn));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
        /// <summary>
        /// Method to Delete WorkflowSetup
        /// </summary>
        /// <param name="argEn">WorkflowSetup Entity is an Input.</param>
        /// <returns>Returns Boolean</returns>
        public bool Delete(WorkflowSetupEn argEn)
        {
            bool flag;

            using (TransactionScope ts = new TransactionScope())
            {
                try
                {
                    WorkflowSetupDAL loDs = new WorkflowSetupDAL();
                    flag = loDs.Delete(argEn);
                    ts.Complete();
                }
                catch (Exception ex)
                {
                    throw ex;
                }
            }
            return(flag);
        }