예제 #1
0
 public IResult Delete(ECOTag ecoTag)
 {
     _ecoTagDao.Delete(ecoTag);
     return(new SuccessResult(true, ResultMessages.ProductDeleted));
 }
예제 #2
0
        public async Task <IResult> DeleteAsync(ECOTag ecoTag)
        {
            await _ecoTagDao.DeleteAsync(ecoTag);

            return(new SuccessResult(true, ResultMessages.ProductDeleted));
        }
예제 #3
0
 public IResult Add(ECOTag ecoTag)
 {
     _ecoTagDao.Add(ecoTag);
     return(new SuccessResult(true, ResultMessages.ProductAdded));
 }