public void UpdateBaInfo(VcBaInfo vcBaInfo)
 {
     vcBaInfoRepository.Update(vcBaInfo);
 }
 public void insertVcBaInfo(VcBaInfo vcBaInfo)
 {
     vcBaInfoRepository.Add(vcBaInfo);
     SaveDbContext();
 }
        public async Task <int> AddBaInfo(VcBaInfo vcBaInfo)
        {
            var addba = vcBaInfoRepository.insertToAsync(vcBaInfo);

            return(await SaveDbContextAsync());
        }