예제 #1
0
 public async Task AddFieldAsync(Field field)
 {
     try
     {
         fieldRepository.AddField(field);
         await context.SaveChangesAsync();
     }
     catch (DbUpdateException)
     {
     }
 }