public async Task <List <NhanVien> > GetSignedContract() { var auditTrailLog = new RequestCustomerLog() { Action = "GET", log = "Lấy toàn bộ danh sách Nhân Viên đã ký hợp đồng trong table NhanVien", Timestamp = DateTime.Now }; string text = auditTrailLog.Action + " | " + auditTrailLog.log + " | " + auditTrailLog.Timestamp; string path = @"D:\Thế giới di động\hddtRestfulAPI\log.txt"; System.IO.File.AppendAllText(path, text + Environment.NewLine); return(await _repository.GetSignedContract()); }