//Waybill public async Task <string> GenerateWaybillFromId(int headerId, string createdBy, int companyId) { try { return(await headerRepository.GenerateWaybillFromId(headerId, createdBy, companyId)); } catch (Exception e) { throw e; } }