Beispiel #1
0
        public bool Delete([FromBody] TblOfficeExpencesDetails expencedetails)
        {
            try
            {
                this._repoWrapper.Expencedetails.DeleteOfficeExpense(expencedetails);
                //this._repoWrapper.Expencedetails.Save();
                return(true);
            }

            catch (Exception e)
            {
                return(false);
            }
        }
Beispiel #2
0
        public bool Update([FromBody] TblOfficeExpencesDetails ExpencesNo)
        {
            try
            {
                this._repoWrapper.Expencedetails.Update(ExpencesNo);
                this._repoWrapper.Expencedetails.Save();
                return(true);
            }

            catch (Exception e)
            {
                return(false);
            }
        }