public virtual IEnumerable <TBLLEntity> All() => ServiceRepository.All().Select(entity => Mapper.Map <TDALEntity, TBLLEntity>(entity));
public virtual TBLLEntity Update(TBLLEntity entity) { return(_mapper.Map <TBLLEntity>(ServiceRepository.Update(_mapper.Map <TDALEntity>(entity)))); }