public Int64 Update(groupmaster objgroupmaster)
        {
            Int64 result = 0;

            try
            {
                Cls_groupmaster_db objCls_groupmaster_db = new Cls_groupmaster_db();

                result = Convert.ToInt64(objCls_groupmaster_db.Update(objgroupmaster));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
        public groupmaster SelectById(Int64 id)
        {
            groupmaster objgroupmaster = new groupmaster();

            try
            {
                Cls_groupmaster_db objCls_groupmaster_db = new Cls_groupmaster_db();

                objgroupmaster = objCls_groupmaster_db.SelectById(id);
                return(objgroupmaster);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objgroupmaster);
            }
        }