/// <summary>
        /// Delete CommandArgument by id
        /// </summary>
        /// <param name="id">Id of CommandArgument to be deleted</param>
        /// <returns>Return true if deleted successfully,otherwise retun false</returns>
        public bool Delete(int id)
        {
            AppCommandArgument dbEntity = objDataContext.AppCommandArguments.Where(x => x.AppCommandArgumentId == id).FirstOrDefault();

            if (dbEntity != null)
            {
                objDataContext.AppCommandArguments.Remove(dbEntity);
                objDataContext.SaveChanges();
            }
            return(true);
        }
        /// <summary>
        /// Save CommandArgument
        /// </summary>
        /// <param name="dao">CommandArgument</param>
        /// <returns>Return true if saved successfull otherwise false</returns>
        public int Save(AppCommandArgument dao)
        {
            AppCommandArgument entity = objDataContext.AppCommandArguments.SingleOrDefault(x => x.AppCommandArgumentId.Equals(dao.AppCommandArgumentId));

            if (entity != null)
            {
                objDataContext.Entry(entity).CurrentValues.SetValues(dao);
            }
            else
            {
                objDataContext.AppCommandArguments.Add(dao);
            }
            objDataContext.SaveChanges();
            return(dao.AppCommandArgumentId);
        }