Add List all Leave Type Controller

This commit is contained in:
Suphonchai Phoonsawat 2023-11-28 13:15:36 +07:00
parent 8037ad7e1e
commit 130cbb8042
5 changed files with 125 additions and 8 deletions

View file

@ -34,6 +34,10 @@ namespace BMA.EHR.Infrastructure.Persistence
Id = Guid.Parse(workSheet?.Cells[row, 1]?.GetValue<string>()!),
Name = workSheet?.Cells[row, 2]?.GetValue<string>()!,
Code = workSheet?.Cells[row, 3]?.GetValue<string>()!,
CreatedFullName = "System Administrator",
CreatedAt = DateTime.Now,
};
await service.AddAsync(inserted);