Add List all Leave Type Controller
This commit is contained in:
parent
8037ad7e1e
commit
130cbb8042
5 changed files with 125 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue