public async Task <PageStatistic> Update(PageStatistic entity) { return(_mapper.Map <PageStatistic>(await _repository.Update(_mapper.Map <PageStatisticDal>(entity)))); }
public async Task Delete(PageStatistic entity) { await _repository.Delete(_mapper.Map <PageStatisticDal>(entity)); }