//public async Task<IEnumerable<Bericht>> GetAllBerichten() //{ // return await _unitOfWork.Berichten // .GetAllAsync(); //} public async Task <Bericht> GetBerichtById(int id) { return(await _berichtRepository .GetBerichtByBerichtId(id)); }
//public async Task<IEnumerable<Bericht>> GetAllBerichten() //{ // return await _unitOfWork.Berichten // .GetAllAsync(); //} public async Task <Bericht> GetBerichtById(int id) { return(await _berichtRepository .GetBerichtByBerichtId(id)); }