using New_College.IRepository; using New_College.IRepository.UnitOfWork; using New_College.Model.Models; using New_College.Repository.Base; using System.Collections.Generic; using System.Threading.Tasks; namespace New_College.Repository { /// /// T_EnrollmentBatchRepository /// public class T_EnrollmentBatchRepository : BaseRepository, IT_EnrollmentBatchRepository { public T_EnrollmentBatchRepository(IUnitOfWork unitOfWork) : base(unitOfWork) { } public async Task BatchAdd(List t_EnrollmentBatches) { return await this.Db.Fastest().BulkCopyAsync(t_EnrollmentBatches); } } }