public async Task <OperateStatus> InsertMultipleDapperAsync(IEnumerable <T> list) { var operateStatus = new OperateStatus(); try { var resultNum = await Repository.BulkInsertAsync(list); operateStatus.ResultSign = resultNum > 0 ? ResultSign.Successful : ResultSign.Error; operateStatus.Message = resultNum > 0 ? Chs.Successful : Chs.Error; } catch (Exception exception) { operateStatus.Message = string.Format(Chs.Error, exception.Message); } return(operateStatus); }