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
{
///
/// D_QualificationLineRepository
///
public class D_QualificationLineRepository : BaseRepository, ID_QualificationLineRepository
{
public D_QualificationLineRepository(IUnitOfWork unitOfWork) : base(unitOfWork)
{
}
public async Task BatchAdd(List d_Qualifications)
{
var kk = await this.Db.Fastest().BulkCopyAsync(d_Qualifications);
return kk > 0;
}
public async Task BatchUpdate(List d_Qualifications)
{
var kk = await this.Db.Fastest().BulkUpdateAsync(d_Qualifications);
return kk > 0;
}
}
}