Exemple #1
0
        public void Delete(int id)
        {
            acct_company deleteResoult = this.unitOfWork.Repository <acct_company>().GetByID(id);

            this.unitOfWork.Repository <acct_company>().Delete(deleteResoult);
        }
Exemple #2
0
        public CompanyView GetByID(object id)
        {
            acct_company result = this.unitOfWork.Repository <acct_company>().GetByID(id);

            return(Mapper.Map <CompanyView>(result));
        }