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