public Int64 Insert(ExpenseMaster objcategory)
        {
            Int64 result = 0;

            try
            {
                Cls_ExpenseMaster_db objCls_category_db = new Cls_ExpenseMaster_db();
                result = Convert.ToInt64(objCls_category_db.Insert(objcategory));
                return(result);
            }
            catch (Exception ex)
            {
                //ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
        public ExpenseMaster SelectById(Int64 id)
        {
            ExpenseMaster objcategory = new ExpenseMaster();

            try
            {
                Cls_ExpenseMaster_db objCls_category_db = new Cls_ExpenseMaster_db();
                objcategory = objCls_category_db.SelectById(id);
                return(objcategory);
            }
            catch (Exception ex)
            {
                //  ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objcategory);
            }
        }