コード例 #1
0
 public async Task <Citizen> InsertCitizenAsync(Citizen citizen)
 {
     citizen.IsActive = true;
     return(await Task.FromResult(_citizenRepository.Insert(citizen)));
 }