using System.Collections.Generic; using LCU.Api.Internal.DispatcherLib.Persistence; using LCU.Library.Internal.DispatcherModels.Entities; namespace LCU.Api.Internal.DispatcherLib.Repositories; public class JobErrorRecipientRepository : BaseRepository, IJobErrorRecipientRepository { public JobErrorRecipientRepository(AppDbContext context) : base(context) { } public void AddList(ICollection jobErrorRecipients) { _context.JobErrorRecipients.AddRange(jobErrorRecipients); } public void RemoveList(ICollection jobErrorRecipients) { _context.JobErrorRecipients.RemoveRange(jobErrorRecipients); } }