public async Task <List <DetailEntity> > GetDetailByHeaderId(int headerId) { return(await detailRepository.GetDetailByHeaderId(headerId)); }