public Result <int> Save(IEnumerable <PostingDetailItem> entities) { var items = entities.Where(x => x.EntityState == ItemState.Added).EnumerableTo <PostingDetails>(); var addItem = _commandRepository.AddBulk(items); return(HandleSavingResponse(entities, addItem)); }